Home
last modified time | relevance | path

Searched refs:initialized_value (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dpartitioned_variables_test.py416 rnd.get_shape(), [1, 10], rnd.initialized_value())
435 rnd.get_shape(), [1, i], rnd.initialized_value())
471 rnd.get_shape(), [1, 1], rnd.initialized_value())
482 rnd.get_shape(), [10, 1], rnd.initialized_value())
532 [10], [1, 1], rnd.initialized_value())
535 [10, 20], [1], rnd.initialized_value())
538 [10, 43], [1], rnd.initialized_value())
541 [10, 43], [1, 2, 3], rnd.initialized_value())
544 [10, 43], [11, 1], rnd.initialized_value())
547 [10, 43], [20, 1], rnd.initialized_value())
[all …]
Dvariables_test.py91 dep = variables.Variable(rnd.initialized_value(), name="dep")
98 added_val = rnd.initialized_value() + dep.initialized_value() + 2.0
323 self.assertEqual(var.device, var.initialized_value().device)
472 math_ops.negative(v1.initialized_value()), dtype=dtypes.float32)
499 b = variables.Variable(a.initialized_value() + 2)
500 c = variables.Variable(b.initialized_value() + 2)
534 self.assertEqual(3.0, self.evaluate(v.initialized_value()))
539 self.assertEqual(1.0, self.evaluate(v.initialized_value()))
550 self.evaluate(v.initialized_value())
Dresource_variable_ops_test.py121 self.assertAllEqual(variable.initialized_value().numpy(), 1.0)
125 var2 = resource_variable_ops.ResourceVariable(var1.initialized_value(),
127 self.assertAllEqual(var2.initialized_value(), 1.0)
870 self.assertEqual(3.0, self.evaluate(v.initialized_value()))
875 self.assertEqual(1.0, v.initialized_value().eval())
886 self.evaluate(v.initialized_value())
/external/tensorflow/tensorflow/python/training/
Dslot_creator_test.py42 slot = slot_creator.create_slot(v, v.initialized_value(), name="slot")
137 slot = slot_creator.create_slot(v, v.initialized_value(), name="slot")
149 slot = slot_creator.create_slot(v, s.initialized_value(), name="slot")
171 slot = slot_creator.create_slot(v, s.initialized_value(), name="slot")
187 v, v.initialized_value(), name="slot", copy_xla_sharding=True)
Dmoving_averages.py457 initialized_value = var.initialized_value()
460 initialized_value,
Dcheckpoint_utils_test.py168 before = my1.initialized_value()
172 after = my1.initialized_value()
180 self.assertAllEqual(session.run(my1.initialized_value()), v1)
Dtraining_util.py235 global_step_value = global_step_tensor.initialized_value() if isinstance(
Dslot_creator.py265 slot_shape = array_ops.shape(primary.initialized_value())
/external/tensorflow/tensorflow/python/distribute/
Dps_values.py147 def initialized_value(self): member in AggregatingVariable
148 return self._v.initialized_value()
Dpacked_distributed_variable.py272 def initialized_value(self): member in PackedVarAndDevice
274 return self._var.initialized_value()
Dvalues.py564 def initialized_value(self): member in DistributedVariable
565 return self._get_on_device_or_primary().initialized_value()
/external/tensorflow/tensorflow/python/ops/
Dvariables.py528 def initialized_value(self): member in Variable
2835 initialized_value = _find_initialized_value_for_variable(op)
2836 return op if initialized_value is None else initialized_value.op
2881 return var.initialized_value()
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py205 def initialized_value(self): member in AutoCastVariable
206 return self._variable.initialized_value()
Dautocast_variable_test.py172 self.assertEqual(self.evaluate(x.initialized_value()), 7)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable.pbtxt104 name: "initialized_value"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-variable.pbtxt103 name: "initialized_value"
/external/tensorflow/
DRELEASE.md3257 …* Fix `initialized_value` and `initial_value` behaviors for `ResourceVariables` created from `Vari…