tf.contrib.graph_editor.SubGraphView.__init__()

tf.contrib.graph_editor.SubGraphView.__init__(inside_ops=(), passthrough_ts=())

Create a subgraph containing the given ops and the "passthrough" tensors.

Args:
  • inside_ops: an object convertible to a list of tf.Operation. This list defines all the operations in the subgraph.
  • passthrough_ts: an object convertible to a list of tf.Tensor. This list define all the "passthrough" tensors. A passthrough tensor is a tensor which goes directly from the input of the subgraph to it output, without any intermediate operations. All the non passthrough tensors are silently ignored.
Raises:
  • TypeError: if inside_ops cannot be converted to a list of tf.Operation or if passthrough_ts cannot be converted to a list of tf.Tensor.
doc_TensorFlow
2016-10-14 13:05:17
Comments
Leave a Comment

Please login to continue.