tensorflow一些API的基本理解

1、tf.Session

self._session = None

opts = tf_session.TF_NewSessionOptions(target=self._target, config=config)

try:

# pylint: disable=protected-access

self._session = tf_session.TF_NewSession(self._graph._c_graph, opts)

# pylint: enable=protected-access

finally:

tf_session.TF_DeleteSessionOptions(opts)

2、tf.Graph

3、tf.Tensor

4、tf.Operation

5、tf.train.Optimizer

6、tf.train.Saver,保存、读取、参数转化、冻结训练、修改部分层相关

7、tf.summary,tensorboard相关

8、data APIs

9、预处理相关、部分cv特定知识相关