Searched refs:var_x (Results 1 – 10 of 10) sorted by relevance
/external/libaom/libaom/aom_dsp/ |
D | noise_util.c | 157 double *mean_x, *mean_y, *var_x, *var_y; in aom_noise_data_validate() local 162 var_x = (double *)aom_malloc(sizeof(*var_x) * w); in aom_noise_data_validate() 167 memset(var_x, 0, sizeof(*var_x) * w); in aom_noise_data_validate() 174 var_x[x] += d * d; in aom_noise_data_validate() 202 var_x[x] = var_x[x] / w - mean_x[x] * mean_x[x]; in aom_noise_data_validate() 203 if (fabs(var_x[x] - var) >= kVarianceThreshold) { in aom_noise_data_validate() 204 fprintf(stderr, "Variance distance too large %f %f\n", var_x[x], var); in aom_noise_data_validate() 217 aom_free(var_x); in aom_noise_data_validate()
|
/external/v8/src/builtins/ |
D | builtins-math-gen.cc | 23 VARIABLE(var_x, MachineRepresentation::kTagged); in TF_BUILTIN() 24 Label loop(this, &var_x); in TF_BUILTIN() 25 var_x.Bind(Parameter(Descriptor::kX)); in TF_BUILTIN() 30 Node* x = var_x.value(); in TF_BUILTIN() 91 var_x.Bind(CallBuiltin(Builtins::kNonNumberToNumber, context, x)); in TF_BUILTIN() 102 VARIABLE(var_x, MachineRepresentation::kTagged, x); in MathRoundingOperation() 103 Label loop(this, &var_x); in MathRoundingOperation() 108 Node* x = var_x.value(); in MathRoundingOperation() 137 var_x.Bind(CallBuiltin(Builtins::kNonNumberToNumber, context, x)); in MathRoundingOperation() 251 VARIABLE(var_x, MachineRepresentation::kTagged); in TF_BUILTIN() [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | numpy_dataset_test.py | 36 var_x = variable_scope.variable(initial) 37 numpy_dataset.init_var_from_numpy(var_x, x, session) 38 val = self.evaluate(var_x.value())
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | simple_save_test.py | 66 var_x = self._init_and_validate_variable(sess, "var_x", 1) 68 inputs = {"x": var_x} 82 self._check_variable_info(collection_vars[0], var_x) 98 self._check_tensor_info(signature_def.inputs["x"], var_x)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | variables_test.py | 210 var_x = variables.VariableV1(2.0) 212 self.assertEqual([], var_x.initializer.control_inputs) 213 self.assertEqual([], var_x.value().op.control_inputs) 214 self.assertEqual([], var_x._ref().op.control_inputs) # pylint: disable=protected-access 270 var_x = variables.Variable(2.0) 273 self.assertAllClose(2.0, self.evaluate(var_x)) 275 self.assertAllClose(5.0, self.evaluate(math_ops.add(var_x, var_y))) 304 var_x = variables.VariableV1(2.0) 313 self.assertEqual([var_x, var_y, var_z, var_t], 315 self.assertEqual([var_x, var_z, var_t], variables.trainable_variables()) [all …]
|
D | partitioned_variables_test.py | 560 var_x = variable_scope.get_variable( 567 var_x.as_tensor() # Caches the ops for subsequent reads. 582 var_x = variable_scope.get_variable( 590 value = var_x._concat() # pylint: disable=protected-access 603 self.assertAllClose(value, var_x.as_tensor())
|
D | cwise_ops_binary_test.py | 90 var_x = variables.Variable(x) 93 print(type(x), type(y), type(var_x), type(var_y)) 94 print(type(tf_func(x, var_y)), type(tf_func(var_x, y))) 96 np_var_right = self.evaluate(tf_func(var_x, y)) 255 var_x = variables.Variable(x) 259 self.evaluate([var_x.initializer, var_y.initializer]) 260 left_result = self.evaluate(var_x * y)
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_grad.py | 952 var_x = math_ops.reduce_mean( 960 grad_x = scale * math_ops.rsqrt(var_x + epsilon) * ( 961 grad_y_offset - math_ops.reciprocal(var_x + epsilon) * mean * x_offset) 962 grad_scale = math_ops.rsqrt(var_x + epsilon) * math_ops.reduce_sum(
|
/external/v8/src/ |
D | code-stub-assembler.cc | 372 VARIABLE(var_x, MachineRepresentation::kFloat64, Float64Ceil(x)); in Float64Round() 374 GotoIf(Float64LessThanOrEqual(Float64Sub(var_x.value(), one_half), x), in Float64Round() 376 var_x.Bind(Float64Sub(var_x.value(), one)); in Float64Round() 380 return TNode<Float64T>::UncheckedCast(var_x.value()); in Float64Round() 393 VARIABLE(var_x, MachineRepresentation::kFloat64, x); in Float64Ceil() 407 var_x.Bind(Float64Sub(Float64Add(two_52, x), two_52)); in Float64Ceil() 408 GotoIfNot(Float64LessThan(var_x.value(), x), &return_x); in Float64Ceil() 409 var_x.Bind(Float64Add(var_x.value(), one)); in Float64Ceil() 421 var_x.Bind(Float64Sub(Float64Add(two_52, minus_x), two_52)); in Float64Ceil() 422 GotoIfNot(Float64GreaterThan(var_x.value(), minus_x), &return_minus_x); in Float64Ceil() [all …]
|
/external/tensorflow/tensorflow/compiler/aot/tests/ |
D | tfcompile_test.cc | 490 EXPECT_EQ(fn.var_x(), 65); in TEST() 497 EXPECT_EQ(fn.var_x(), 107); in TEST()
|