Module: tf.contrib.util

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.

© 2020 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/versions/r1.15/api_docs/python/tf/contrib/util