contrib.graph_editor.placeholder_name

tf.contrib.graph_editor.placeholder_name

tf.contrib.graph_editor.placeholder_name

placeholder_name(
    t=None,
    scope=None
)

Defined in tensorflow/contrib/graph_editor/util.py.

See the guide: Graph Editor (contrib) > Module: util

Create placeholder name for the graph editor.

Args:

  • t: optional tensor on which the placeholder operation's name will be based on
  • scope: absolute scope with which to prefix the placeholder's name. None means that the scope of t is preserved. "" means the root scope.

Returns:

A new placeholder name prefixed by "geph". Note that "geph" stands for Graph Editor PlaceHolder. This convention allows to quickly identify the placeholder generated by the Graph Editor.

Raises:

  • TypeError: if t is not None or a tf.Tensor.

© 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/contrib/graph_editor/placeholder_name

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部