tf.contrib.framework.assert_same_float_dtype(tensors=None, dtype=None) Validate and return float type based on tensors
tf.contrib.framework.get_global_step(graph=None) Get the global step tensor. The global step tensor
tf.contrib.framework.with_same_shape(expected_tensor, tensor) Assert tensors are the same shape, from the same graph.
tf.contrib.framework.add_model_variable(var) Adds a variable to the GraphKeys.MODEL_VARIABLES collection.
tf.contrib.framework.assert_scalar_int(tensor) Assert tensor is 0-D, of type tf.int32 or tf.int64
tf.contrib.framework.convert_to_tensor_or_sparse_tensor(value, dtype=None, name=None, as_ref=False) Converts value to a
tf.contrib.framework.with_shape(expected_shape, tensor) Asserts tensor has expected shape. If
tf.contrib.framework.assign_from_values_fn(var_names_to_values) Returns a function that assigns specific variables from the given
tf.contrib.framework.create_global_step(graph=None) Create global step tensor in graph. Args:
tf.contrib.framework.reduce_sum_n(tensors, name=None) Reduce tensors to a scalar sum. This reduces
Page 2 of 5