tf.contrib.framework.assert_scalar_int(tensor) Assert tensor is 0-D, of type tf.int32 or tf.int64
tf.contrib.framework.has_arg_scope(func) Checks whether a func has been decorated with @add_arg_scope or not.
tf.contrib.framework.convert_to_tensor_or_sparse_tensor(value, dtype=None, name=None, as_ref=False) Converts value to a
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
tf.contrib.framework.local_variable(initial_value, validate_shape=True, name=None) Create variable and add it to GraphKeys
tf.contrib.framework.add_model_variable(var) Adds a variable to the GraphKeys.MODEL_VARIABLES collection.
tf.contrib.framework.with_same_shape(expected_tensor, tensor) Assert tensors are the same shape, from the same graph.
tf.contrib.framework.deprecated_arg_values(date, instructions, **deprecated_kwargs) Decorator for marking specific function argument
tf.contrib.framework.assert_same_float_dtype(tensors=None, dtype=None) Validate and return float type based on tensors
Page 2 of 5