/external/tensorflow/tensorflow/python/distribute/ |
D | vars_test.py | 44 from tensorflow.python.ops import variables as variables_lib unknown 100 variables_lib.VariableAggregation.NONE, 101 variables_lib.VariableAggregation.SUM, 102 variables_lib.VariableAggregation.MEAN, 103 variables_lib.VariableAggregation.ONLY_FIRST_REPLICA, 112 variables_lib.VariableAggregation.SUM): 118 self.evaluate(variables_lib.global_variables_initializer()) 130 2., aggregation=variables_lib.VariableAggregation.MEAN) 132 -2., aggregation=variables_lib.VariableAggregation.MEAN) 147 variables_lib.VariableAggregation.NONE, [all …]
|
D | sharded_variable_test.py | 36 from tensorflow.python.ops import variables as variables_lib unknown 105 v0 = variables_lib.Variable([0]) 106 v1 = variables_lib.Variable([1]) 115 v0 = variables_lib.Variable([[0, 0]]) 116 v1 = variables_lib.Variable([[1, 1], [2, 2]]) 117 v2 = variables_lib.Variable([[3, 3]]) 125 v0 = variables_lib.Variable([[0, 0]]) 126 v1 = variables_lib.Variable([[1, 1], [2, 2]]) 127 v2 = variables_lib.Variable([[3, 3]]) 135 v0 = variables_lib.Variable([[0, 0]]) [all …]
|
D | ps_values_test.py | 29 from tensorflow.python.ops import variables as variables_lib unknown 42 aggregating = variables_lib.Variable(1.) 51 1, aggregation=variables_lib.VariableAggregation.MEAN) 52 self.evaluate(variables_lib.global_variables_initializer())
|
D | values_test.py | 58 from tensorflow.python.ops import variables as variables_lib unknown 410 variables_lib.VariableSynchronization.ON_READ, 411 variables_lib.VariableSynchronization.ON_WRITE, 414 variables_lib.VariableAggregation.MEAN, 415 variables_lib.VariableAggregation.SUM, 416 variables_lib.VariableAggregation.ONLY_FIRST_REPLICA, 424 v = variables_lib.Variable( 426 self.assertIsInstance(v, variables_lib.Variable) 436 v = variables_lib.Variable( 482 v = variables_lib.Variable( [all …]
|
D | checkpointing_test.py | 28 from tensorflow.python.ops import variables as variables_lib unknown 46 save_checkpoint = trackable_utils.Checkpoint(v=variables_lib.Variable( 55 v = variables_lib.Variable(initial_value)
|
D | sharded_variable.py | 34 from tensorflow.python.ops import variables as variables_lib unknown 285 if any(not isinstance(v, variables_lib.Variable) for v in variables): 545 save_slice_info = variables_lib.Variable.SaveSliceInfo(
|
D | ps_values.py | 30 from tensorflow.python.ops import variables as variables_lib unknown 36 class AggregatingVariable(variables_lib.Variable, core.Tensor):
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | util_test.py | 38 from tensorflow.python.ops import variables as variables_lib unknown 341 original_root = trackable_utils.Checkpoint(v1=variables_lib.Variable(2.), 342 v2=variables_lib.Variable(3.)) 346 v2=variables_lib.Variable(0.)) 363 original_root = trackable_utils.Checkpoint(v1=variables_lib.Variable(2.), 364 v2=variables_lib.Variable(3.)) 368 v2=variables_lib.Variable(0.)) 376 original_root = trackable_utils.Checkpoint(v1=variables_lib.Variable(2.), 377 v2=variables_lib.Variable(3.)) 380 partial_root = trackable_utils.Checkpoint(v1=variables_lib.Variable(0.)) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | rnn_test.py | 43 from tensorflow.python.ops import variables as variables_lib unknown 423 variables_lib.Variable( 430 inputs_t = variables_lib.Variable(inputs, trainable=False).value() 472 variables_lib.Variable( 477 variables_lib.global_variables_initializer().run() 483 inputs_t = variables_lib.Variable(inputs, trainable=False).value() 485 variables_lib.global_variables_initializer().run() 534 variables_lib.Variable( 539 variables_lib.global_variables_initializer().run() 546 variables_lib.Variable( [all …]
|
D | rnn_cell_test.py | 49 from tensorflow.python.ops import variables as variables_lib unknown 176 self._num_state_calls = variables_lib.VariableV1(0) 177 self._num_save_state_calls = variables_lib.VariableV1(0) 336 variables_lib.global_variables_initializer() 337 all_vars = variables_lib.global_variables() 404 variables_lib.global_variables_initializer().run() 431 variables_lib.global_variables_initializer().run() 464 variables_lib.global_variables_initializer().run() 498 variables_lib.global_variables_initializer().run() 558 variables_lib.global_variables_initializer().run() [all …]
|
D | variable_scope_test.py | 42 from tensorflow.python.ops import variables as variables_lib unknown 132 self.evaluate(variables_lib.variables_initializer([v])) 136 self.evaluate(variables_lib.variables_initializer([w])) 170 variables_lib.global_variables_initializer().run() 303 self.evaluate(variables_lib.variables_initializer([v])) 308 self.evaluate(variables_lib.variables_initializer([w])) 337 self.evaluate(variables_lib.global_variables_initializer()) 392 self.evaluate(variables_lib.variables_initializer([v])) 411 self.evaluate(variables_lib.variables_initializer([u, w, x, y, z])) 430 self.evaluate(variables_lib.variables_initializer([w])) [all …]
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | sharded_variable_test.py | 25 from tensorflow.python.ops import variables as variables_lib unknown 38 variables_lib.Variable([0]), 39 variables_lib.Variable([1]), 42 variables_lib.Variable([2], trainable=False), 43 variables_lib.Variable([3], trainable=False),
|
D | checkpointing_test.py | 32 from tensorflow.python.ops import variables as variables_lib unknown 53 v = variables_lib.Variable(random_ops.random_normal([])) 114 v = variables_lib.Variable(random_ops.random_normal([]))
|
D | minimize_loss_test.py | 42 from tensorflow.python.ops import variables as variables_lib unknown 113 self.evaluate(variables_lib.global_variables_initializer()) 151 self.evaluate(variables_lib.global_variables_initializer()) 208 self.evaluate(variables_lib.global_variables_initializer()) 276 self.evaluate(variables_lib.global_variables_initializer()) 383 self.evaluate(variables_lib.global_variables_initializer()) 508 self.evaluate(variables_lib.global_variables_initializer())
|
/external/tensorflow/tensorflow/python/keras/feature_column/ |
D | dense_features_v2_test.py | 36 from tensorflow.python.ops import variables as variables_lib unknown 42 sess.run(variables_lib.global_variables_initializer()) 176 self.evaluate(variables_lib.global_variables_initializer()) 211 self.evaluate(variables_lib.global_variables_initializer()) 222 self.evaluate(variables_lib.global_variables_initializer()) 243 self.evaluate(variables_lib.global_variables_initializer()) 254 self.evaluate(variables_lib.global_variables_initializer()) 271 self.evaluate(variables_lib.global_variables_initializer()) 292 self.evaluate(variables_lib.global_variables_initializer()) 304 self.evaluate(variables_lib.global_variables_initializer()) [all …]
|
D | dense_features_test.py | 41 from tensorflow.python.ops import variables as variables_lib unknown 47 sess.run(variables_lib.global_variables_initializer()) 231 self.evaluate(variables_lib.global_variables_initializer()) 242 self.evaluate(variables_lib.global_variables_initializer()) 263 self.evaluate(variables_lib.global_variables_initializer()) 274 self.evaluate(variables_lib.global_variables_initializer()) 291 self.evaluate(variables_lib.global_variables_initializer()) 312 self.evaluate(variables_lib.global_variables_initializer()) 324 self.evaluate(variables_lib.global_variables_initializer()) 338 self.evaluate(variables_lib.global_variables_initializer()) [all …]
|
D | sequence_feature_column_test.py | 38 from tensorflow.python.ops import variables as variables_lib unknown 44 sess.run(variables_lib.global_variables_initializer()) 141 self.evaluate(variables_lib.global_variables_initializer()) 561 self.evaluate(variables_lib.global_variables_initializer())
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column_v2_test.py | 48 from tensorflow.python.ops import variables as variables_lib unknown 54 sess.run(variables_lib.global_variables_initializer()) 559 self.evaluate(variables_lib.global_variables_initializer()) 574 self.evaluate(variables_lib.global_variables_initializer()) 594 self.evaluate(variables_lib.global_variables_initializer()) 975 self.evaluate(variables_lib.global_variables_initializer()) 1180 self.evaluate(variables_lib.global_variables_initializer()) 1212 self.evaluate(variables_lib.global_variables_initializer()) 1791 self.evaluate(variables_lib.global_variables_initializer()) 2170 self.evaluate(variables_lib.global_variables_initializer()) [all …]
|
D | sequence_feature_column_test.py | 39 from tensorflow.python.ops import variables as variables_lib unknown 45 sess.run(variables_lib.global_variables_initializer()) 308 self.evaluate(variables_lib.global_variables_initializer()) 375 self.evaluate(variables_lib.global_variables_initializer()) 450 self.evaluate(variables_lib.global_variables_initializer()) 588 self.evaluate(variables_lib.global_variables_initializer())
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | tracking_util_test.py | 45 from tensorflow.python.ops import variables as variables_lib unknown 257 dummy_var = variables_lib.Variable([1.]) 371 original_root = trackable_utils.Checkpoint(v1=variables_lib.Variable(2.), 372 v2=variables_lib.Variable(3.), 378 partial_root = trackable_utils.Checkpoint(v1=variables_lib.Variable(0.)) 443 self.w = variables_lib.Variable(0.0) 444 self.b = variables_lib.Variable(0.0) 541 obj.var = variables_lib.Variable(0., name="v") 559 obj.var = variables_lib.Variable(0., name="v") 634 if isinstance(obj, variables_lib.Variable)] [all …]
|
D | model_subclassing_test.py | 40 from tensorflow.python.ops import variables as variables_lib unknown 373 variables_lib.Variable(1., name='notdep_var')) 388 self.var = variables_lib.Variable(1.) 389 self.not_trainable_var = variables_lib.Variable(2., trainable=False) 726 self.my_variable = variables_lib.Variable(0.0, trainable=False)
|
/external/tensorflow/tensorflow/python/training/ |
D | basic_session_run_hooks_test.py | 39 from tensorflow.python.ops import variables as variables_lib unknown 254 self.evaluate(variables_lib.global_variables_initializer()) 272 self.evaluate(variables_lib.global_variables_initializer()) 319 self.evaluate(variables_lib.global_variables_initializer()) 333 self.evaluate(variables_lib.global_variables_initializer()) 381 self.evaluate(variables_lib.global_variables_initializer()) 976 self.evaluate(variables_lib.global_variables_initializer()) 1007 self.evaluate(variables_lib.global_variables_initializer()) 1044 self.evaluate(variables_lib.global_variables_initializer()) 1064 self.evaluate(variables_lib.global_variables_initializer()) [all …]
|
D | warm_starting_util.py | 29 from tensorflow.python.ops import variables as variables_lib unknown 178 elif isinstance(var, variables_lib.PartitionedVariable): 249 elif isinstance(var, variables_lib.PartitionedVariable):
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | rnn_cell_wrapper_v2_test.py | 34 from tensorflow.python.ops import variables as variables_lib unknown 58 self.evaluate([variables_lib.global_variables_initializer()]) 82 self.evaluate([variables_lib.global_variables_initializer()])
|
/external/tensorflow/tensorflow/python/tpu/ |
D | feature_column_test.py | 32 from tensorflow.python.ops import variables as variables_lib unknown 39 sess.run(variables_lib.global_variables_initializer())
|