Home
last modified time | relevance | path

Searched refs:var_x (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-math.cc33 Variable var_x(this, MachineRepresentation::kTagged); in TF_BUILTIN() local
34 Label loop(this, &var_x); in TF_BUILTIN()
35 var_x.Bind(Parameter(1)); in TF_BUILTIN()
40 Node* x = var_x.value(); in TF_BUILTIN()
99 var_x.Bind(CallStub(callable, context, x)); in TF_BUILTIN()
111 Variable var_x(this, MachineRepresentation::kTagged); in MathRoundingOperation() local
112 Label loop(this, &var_x); in MathRoundingOperation()
113 var_x.Bind(Parameter(1)); in MathRoundingOperation()
118 Node* x = var_x.value(); in MathRoundingOperation()
149 var_x.Bind(CallStub(callable, context, x)); in MathRoundingOperation()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dsimple_save_test.py64 var_x = self._init_and_validate_variable(sess, "var_x", 1)
66 inputs = {"x": var_x}
80 self._check_variable_info(collection_vars[0], var_x)
96 self._check_tensor_info(signature_def.inputs["x"], var_x)
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py195 var_x = variables.Variable(2.0)
197 self.assertEqual([], var_x.initializer.control_inputs)
198 self.assertEqual([], var_x.value().op.control_inputs)
199 self.assertEqual([], var_x._ref().op.control_inputs) # pylint: disable=protected-access
252 var_x = variables.Variable(2.0)
255 self.assertAllClose(2.0, var_x.eval())
257 self.assertAllClose(5.0, math_ops.add(var_x, var_y).eval())
283 var_x = variables.Variable(2.0)
292 self.assertEqual([var_x, var_y, var_z, var_t],
294 self.assertEqual([var_x, var_z, var_t], variables.trainable_variables())
[all …]
Dpartitioned_variables_test.py553 var_x = variable_scope.get_variable(
560 var_x.as_tensor() # Caches the ops for subsequent reads.
574 var_x = variable_scope.get_variable(
582 value = var_x._concat() # pylint: disable=protected-access
595 self.assertAllClose(value.eval(), var_x.as_tensor().eval())
Dcwise_ops_test.py543 var_x = variables.Variable(x)
546 print(type(x), type(y), type(var_x), type(var_y))
547 print(type(tf_func(x, var_y)), type(tf_func(var_x, y)))
549 np_var_right = tf_func(var_x, y).eval()
707 var_x = variables.Variable(x)
710 sess.run([var_x.initializer, var_y.initializer])
711 left_result = (var_x * y).eval()
/external/v8/src/
Dcode-stub-assembler.cc215 Variable var_x(this, MachineRepresentation::kFloat64, Float64Ceil(x)); in Float64Round() local
217 GotoIf(Float64LessThanOrEqual(Float64Sub(var_x.value(), one_half), x), in Float64Round()
219 var_x.Bind(Float64Sub(var_x.value(), one)); in Float64Round()
223 return var_x.value(); in Float64Round()
236 Variable var_x(this, MachineRepresentation::kFloat64, x); in Float64Ceil() local
250 var_x.Bind(Float64Sub(Float64Add(two_52, x), two_52)); in Float64Ceil()
251 GotoIfNot(Float64LessThan(var_x.value(), x), &return_x); in Float64Ceil()
252 var_x.Bind(Float64Add(var_x.value(), one)); in Float64Ceil()
264 var_x.Bind(Float64Sub(Float64Add(two_52, minus_x), two_52)); in Float64Ceil()
265 GotoIfNot(Float64GreaterThan(var_x.value(), minus_x), &return_minus_x); in Float64Ceil()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dnn_grad.py875 var_x = math_ops.reduce_mean(
883 grad_x = scale * math_ops.rsqrt(var_x + epsilon) * (
884 grad_y_offset - math_ops.reciprocal(var_x + epsilon) * mean * x_offset)
885 grad_scale = math_ops.rsqrt(var_x + epsilon) * math_ops.reduce_sum(