Searched refs:variable_op (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | variable_ops_test.py | 50 p = state_ops.variable_op(x.shape, tftype) 75 p = state_ops.variable_op([1, 2], dtypes.float32) 77 p = state_ops.variable_op([1, 2], dtypes.float32, set_shape=False) 83 var = state_ops.variable_op(value.shape, dtypes.float32) 91 var = state_ops.variable_op(value.shape, dtypes.float32) 99 var = state_ops.variable_op(value.shape, dtypes.float32, set_shape=False) 107 var = state_ops.variable_op(value.shape, dtypes.float32, set_shape=False) 121 var = state_ops.variable_op(shape, dtypes.float32) 130 var = state_ops.variable_op(shape, dtypes.float32) 139 var = state_ops.variable_op([1, 2], dtypes.float32, set_shape=False) [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | saver_test.py | 80 def basicSaveRestore(self, variable_op): argument 86 v0 = variable_op(10.0, name="v0") 87 v1 = variable_op(20.0, name="v1") 115 v0 = variable_op(-1.0, name="v0") 116 v1 = variable_op(-1.0, name="v1") 137 v0_2 = variable_op(1000.0, name="v0") 138 v1_2 = variable_op(2000.0, name="v1") 795 for variable_op in [ 802 v0 = variable_op(10.0, name="v0", dtype=dtypes.float32) 812 v0_wrong_dtype = variable_op(1, name="v0", dtype=dtypes.int32) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | variables.py | 2863 def _find_initialized_value_for_variable(variable_op): argument 2876 var_names = [variable_op.node_def.name, variable_op.node_def.name + ":0"] 2879 for var in variable_op.graph.get_collection(collection_name):
|
D | state_ops.py | 41 def variable_op(shape, dtype, name="Variable", set_shape=True, container="", function
|
/external/tensorflow/tensorflow/python/distribute/v1/ |
D | all_reduce_test.py | 137 var = state_ops.variable_op(shape, types_pb2.DT_FLOAT)
|