Searched refs:mean_tensor (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/python/keras/applications/ |
D | imagenet_utils.py | 283 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/ |
D | export_output_test.py | 246 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/ |
D | random_ops.py | 91 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)
|
D | stateful_random_ops.py | 709 mean_tensor = ops.convert_to_tensor(mean, dtype=dtype, name="mean") 713 return math_ops.add(mul, mean_tensor, name=name)
|
D | metrics_impl.py | 1336 def mean_tensor(values, function
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics_test.py | 1506 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/ |
D | tensorflow.keras.metrics.-mean-tensor.pbtxt | 141 …ame\', \'dtype\', \'shape\'], varargs=None, keywords=None, defaults=[\'mean_tensor\', \'None\', \'…
|
D | tensorflow.metrics.-mean-tensor.pbtxt | 141 …ame\', \'dtype\', \'shape\'], varargs=None, keywords=None, defaults=[\'mean_tensor\', \'None\', \'…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.metrics.-mean-tensor.pbtxt | 141 …ame\', \'dtype\', \'shape\'], varargs=None, keywords=None, defaults=[\'mean_tensor\', \'None\', \'…
|
D | tensorflow.metrics.pbtxt | 60 name: "mean_tensor"
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | metrics_test.py | 361 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/ |
D | metrics_v1_test.py | 222 distribution, _dataset_fn, metrics.mean_tensor, _expected_fn)
|