Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dnoise_util.c159 double *mean_x, *mean_y, *var_x, *var_y; in aom_noise_data_validate() local
164 var_x = (double *)aom_malloc(sizeof(*var_x) * w); in aom_noise_data_validate()
169 memset(var_x, 0, sizeof(*var_x) * w); in aom_noise_data_validate()
176 var_x[x] += d * d; in aom_noise_data_validate()
204 var_x[x] = var_x[x] / w - mean_x[x] * mean_x[x]; in aom_noise_data_validate()
205 if (fabs(var_x[x] - var) >= kVarianceThreshold) { in aom_noise_data_validate()
206 fprintf(stderr, "Variance distance too large %f %f\n", var_x[x], var); in aom_noise_data_validate()
219 aom_free(var_x); in aom_noise_data_validate()
/external/tensorflow/tensorflow/python/distribute/
Dnumpy_dataset_test.py36 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/
Dsimple_save_test.py69 var_x = self._init_and_validate_variable("var_x", 1)
71 inputs = {"x": var_x}
85 self._check_variable_info(collection_vars[0], var_x)
101 self._check_tensor_info(signature_def.inputs["x"], var_x)
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py239 var_x = variables.VariableV1(2.0)
241 self.assertEqual([], var_x.initializer.control_inputs)
242 self.assertEqual([], var_x.value().op.control_inputs)
243 self.assertEqual([], var_x._ref().op.control_inputs) # pylint: disable=protected-access
299 var_x = variables.Variable(2.0)
302 self.assertAllClose(2.0, self.evaluate(var_x))
304 self.assertAllClose(5.0, self.evaluate(math_ops.add(var_x, var_y)))
332 var_x = variables.VariableV1(2.0)
341 self.assertEqual([var_x, var_y, var_z, var_t],
343 self.assertEqual([var_x, var_z, var_t], variables.trainable_variables())
[all …]
Dpartitioned_variables_test.py560 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())
Dcwise_ops_binary_test.py91 var_x = variables.Variable(x)
94 print(type(x), type(y), type(var_x), type(var_y))
95 print(type(tf_func(x, var_y)), type(tf_func(var_x, y)))
97 np_var_right = self.evaluate(tf_func(var_x, y))
256 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/compiler/aot/tests/
Dtfcompile_test.cc511 EXPECT_EQ(fn.var_x(), 23); in TEST()
526 EXPECT_EQ(fn.var_x(), 65); in TEST()
533 EXPECT_EQ(fn.var_x(), 107); in TEST()
544 fn.var_x() = 2; in TEST()
550 EXPECT_NEAR(fn.var_x(), 1.187f, 1e-6); in TEST()
560 EXPECT_NEAR(fn.var_x(), 0.594322f, 1e-6); in TEST()
/external/tensorflow/tensorflow/python/ops/
Dnn_grad.py993 var_x = math_ops.reduce_mean(
1001 grad_x = scale * math_ops.rsqrt(var_x + epsilon) * (
1002 grad_y_offset - math_ops.reciprocal(var_x + epsilon) * mean * x_offset)
1003 grad_scale = math_ops.rsqrt(var_x + epsilon) * math_ops.reduce_sum(