Module: tf.contrib.util

View source on GitHub

Utilities for dealing with Tensors.

Modules

loader module: Utilities for loading op libraries.

Functions

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

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.