查询tensorflow中的函数用法

一下均在ubuntu环境下:

(1)方法一,使用help()函数;

比如对于tf.placeholder(),在命令行中输入import tensorflow as tf , help(tf.placeholder)即可查看用法,再按"q"即可退出