tf.add_to_collection

tf.add_to_collection

tf.add_to_collection

add_to_collection(
    name,
    value
)

Defined in tensorflow/python/framework/ops.py.

See the guide: Building Graphs > Graph collections

Wrapper for Graph.add_to_collection() using the default graph.

See tf.Graph.add_to_collection for more details.

Args:

  • name: The key for the collection. For example, the GraphKeys class contains many standard names for collections.
  • value: The value to add to the collection.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/add_to_collection

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部