LostTech.TensorFlow : API Documentation

Type ISubGraphView

Namespace tensorflow.contrib.graph_editor

Interfaces IPythonObjectContainer

Public instance methods

object copy()

Return a copy of itself.

Note that this class is a "view", copying it only create another view and does not copy the underlying part of the tf.Graph.
Returns
object
A new instance identical to the original one.

object find_op_by_name(object op_name)

Return the op named op_name.
Parameters
object op_name
the name to search for
Returns
object
The op named op_name.

object input_index(object t)

Find the input index corresponding to the given input tensor t.
Parameters
object t
the input tensor of this subgraph view.
Returns
object
The index in the self.inputs list.

object is_passthrough(object t)

Check whether a tensor is passthrough.

object op(object op_id)

Get an op by its index.

object output_index(object t)

Find the output index corresponding to given output tensor t.
Parameters
object t
the output tensor of this subgraph view.
Returns
object
The index in the self.outputs list.

object remap(object new_input_indices, object new_output_indices)

object remap_default(object remove_input_map, object remove_output_map)

object remap_inputs(object new_input_indices)

object remap_outputs(object new_output_indices)

object remove_unused_ops(object control_inputs)

Public properties

object connected_inputs get;

object connected_outputs get;

object graph get;

object inputs get;

object ops get;

object outputs get;

object passthroughs get;