Home
last modified time | relevance | path

Searched refs:mean_tensor (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/keras/applications/
Dimagenet_utils.py283 mean_tensor = backend.constant(-np.array(mean))
286 if backend.dtype(x) != backend.dtype(mean_tensor):
288 x, backend.cast(mean_tensor, backend.dtype(x)), data_format=data_format)
290 x = backend.bias_add(x, mean_tensor, data_format)
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_output_test.py246 mean, update_op = metrics_module.mean_tensor(constant_op.constant([0]))
292 mean, update_op = metrics_module.mean_tensor(constant_op.constant([0]))
315 mean, update_op = metrics_module.mean_tensor(constant_op.constant([0]))
335 mean, update_op = metrics_module.mean_tensor(constant_op.constant([0]))
374 mean, update_op = metrics_module.mean_tensor(constant_op.constant([0]))
/external/tensorflow/tensorflow/python/ops/
Drandom_ops.py91 mean_tensor = ops.convert_to_tensor(mean, dtype=dtype, name="mean")
97 value = math_ops.add(mul, mean_tensor, name=name)
200 mean_tensor = ops.convert_to_tensor(mean, dtype=dtype, name="mean")
206 value = math_ops.add(mul, mean_tensor, name=name)
Dstateful_random_ops.py709 mean_tensor = ops.convert_to_tensor(mean, dtype=dtype, name="mean")
713 return math_ops.add(mul, mean_tensor, name=name)
Dmetrics_impl.py1336 def mean_tensor(values, function
/external/tensorflow/tensorflow/python/keras/
Dmetrics_test.py1506 self.mean_tensor = metrics.MeanTensor()
1511 self.mean_tensor(self.dense1.kernel)
1523 self.assertAllClose(self.evaluate(model.mean_tensor.result()),
1525 self.assertAllClose(self.evaluate(model.mean_tensor.total),
1527 self.assertAllClose(self.evaluate(model.mean_tensor.count),
1531 self.assertAllClose(self.evaluate(model.mean_tensor.result()),
1533 self.assertAllClose(self.evaluate(model.mean_tensor.total),
1535 self.assertAllClose(self.evaluate(model.mean_tensor.count),
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.metrics.-mean-tensor.pbtxt141 …ame\', \'dtype\', \'shape\'], varargs=None, keywords=None, defaults=[\'mean_tensor\', \'None\', \'…
Dtensorflow.metrics.-mean-tensor.pbtxt141 …ame\', \'dtype\', \'shape\'], varargs=None, keywords=None, defaults=[\'mean_tensor\', \'None\', \'…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.metrics.-mean-tensor.pbtxt141 …ame\', \'dtype\', \'shape\'], varargs=None, keywords=None, defaults=[\'mean_tensor\', \'None\', \'…
Dtensorflow.metrics.pbtxt60 name: "mean_tensor"
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py361 metrics.mean_tensor(array_ops.ones([4, 3]))
368 mean, _ = metrics.mean_tensor(
375 _, update_op = metrics.mean_tensor(
390 mean, update_op = metrics.mean_tensor(values)
412 mean, update_op = metrics.mean_tensor(values)
431 mean, update_op = metrics.mean_tensor(values)
463 mean, update_op = metrics.mean_tensor(values, weights)
491 mean, update_op = metrics.mean_tensor(values, weights)
519 mean, update_op = metrics.mean_tensor(values, weights)
547 mean, update_op = metrics.mean_tensor(values, weights)
/external/tensorflow/tensorflow/python/distribute/
Dmetrics_v1_test.py222 distribution, _dataset_fn, metrics.mean_tensor, _expected_fn)