Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_selinux.sh105 local initialized_value
159 initialized_value=$(echo $measured_data | awk -F'[=;]' '{print $2}')
160 if [ "$initialized_value" != "1" ]; then
161 tst_res TFAIL "initialized: expected 1, got: $initialized_value"
/external/tensorflow/tensorflow/python/kernel_tests/variables/
Dpartitioned_variables_test.py411 rnd.get_shape(), [1, 10], rnd.initialized_value())
430 rnd.get_shape(), [1, i], rnd.initialized_value())
466 rnd.get_shape(), [1, 1], rnd.initialized_value())
477 rnd.get_shape(), [10, 1], rnd.initialized_value())
527 [10], [1, 1], rnd.initialized_value())
530 [10, 20], [1], rnd.initialized_value())
533 [10, 43], [1], rnd.initialized_value())
536 [10, 43], [1, 2, 3], rnd.initialized_value())
539 [10, 43], [11, 1], rnd.initialized_value())
542 [10, 43], [20, 1], rnd.initialized_value())
[all …]
Dvariables_test.py87 dep = variables.Variable(rnd.initialized_value(), name="dep")
94 added_val = rnd.initialized_value() + dep.initialized_value() + 2.0
330 self.assertEqual(var.device, var.initialized_value().device)
479 math_ops.negative(v1.initialized_value()), dtype=dtypes.float32)
506 b = variables.Variable(a.initialized_value() + 2)
507 c = variables.Variable(b.initialized_value() + 2)
541 self.assertEqual(3.0, self.evaluate(v.initialized_value()))
546 self.assertEqual(1.0, self.evaluate(v.initialized_value()))
557 self.evaluate(v.initialized_value())
Dresource_variable_ops_test.py145 self.assertAllEqual(variable.initialized_value().numpy(), 1.0)
149 var2 = resource_variable_ops.ResourceVariable(var1.initialized_value(),
151 self.assertAllEqual(var2.initialized_value(), 1.0)
896 self.assertEqual(3.0, self.evaluate(v.initialized_value()))
901 self.assertEqual(1.0, v.initialized_value().eval())
912 self.evaluate(v.initialized_value())
/external/tensorflow/tensorflow/python/training/
Dslot_creator_test.py39 slot = slot_creator.create_slot(v, v.initialized_value(), name="slot")
134 slot = slot_creator.create_slot(v, v.initialized_value(), name="slot")
146 slot = slot_creator.create_slot(v, s.initialized_value(), name="slot")
168 slot = slot_creator.create_slot(v, s.initialized_value(), name="slot")
184 v, v.initialized_value(), name="slot", copy_xla_sharding=True)
Dmoving_averages.py553 initialized_value = var.initialized_value()
556 initialized_value,
Dcheckpoint_utils_test.py185 before = my1.initialized_value()
189 after = my1.initialized_value()
197 self.assertAllEqual(session.run(my1.initialized_value()), v1)
Dtraining_util.py396 global_step_value = global_step_tensor.initialized_value() if isinstance(
Dslot_creator.py266 slot_shape = array_ops.shape(primary.initialized_value())
/external/tensorflow/tensorflow/python/distribute/
Dps_values.py166 def initialized_value(self): member in AggregatingVariable
167 return self._v.initialized_value()
410 def initialized_value(self): member in CachingVariable
411 return self._v.initialized_value()
Dpacked_distributed_variable.py284 def initialized_value(self): member in PackedVarAndDevice
286 return self._var.initialized_value()
Dvalues.py601 def initialized_value(self): member in DistributedVariable
602 return self._get_on_device_or_primary().initialized_value()
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py200 def initialized_value(self): member in AutoCastVariable
201 return self._variable.initialized_value()
/external/tensorflow/tensorflow/python/ops/
Dvariables.py532 def initialized_value(self): member in Variable
2829 initialized_value = _find_initialized_value_for_variable(op)
2830 return op if initialized_value is None else initialized_value.op
2875 return var.initialized_value()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-variable.pbtxt103 name: "initialized_value"
Dtensorflow.experimental.dtensor.-d-variable.pbtxt120 name: "initialized_value"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable.pbtxt104 name: "initialized_value"
/external/tensorflow/
DRELEASE.md8386 * Fix `initialized_value` and `initial_value` behaviors for