Module: tf.contrib.util

Module tf.contrib.util

Utilities for dealing with Tensors. See Utilities (contrib) guide.


constant_value(...): Returns the constant value of the given tensor, if efficiently calculable.

loader module: Utilities for loading op libraries.

make_ndarray(...): Create a numpy ndarray from a tensor.

make_tensor_proto(...): Create a TensorProto.

ops_used_by_graph_def(...): Collect the list of ops used by a graph.

stripped_op_list_for_graph(...): Collect the stripped OpDefs for ops used by a graph.

Defined in tensorflow/contrib/util/