Home
last modified time | relevance | path

Searched refs:names_to_values (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/training/python/training/
Devaluation_test.py426 names_to_values = {'Accuracy': accuracy0, 'Another_accuracy': accuracy1}
428 return names_to_values, names_to_updates
430 def _verify_events(self, output_dir, names_to_values): argument
457 for name in names_to_values:
458 self.assertAlmostEqual(names_to_values[name], saved_results[name], 5)
474 names_to_values = {'bread': 3.4, 'cheese': 4.5, 'tomato': 2.0}
476 for k in names_to_values:
477 v = names_to_values[k]
487 self._verify_events(logdir, names_to_values)
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dsummaries_test.py41 def assert_scalar_summary(self, output_dir, names_to_values): argument
60 for name in names_to_values:
61 self.assertAlmostEqual(names_to_values[name], saved_results[name])
Devaluation_test.py143 names_to_values = {'Accuracy': accuracy0, 'Another_accuracy': accuracy1}
145 return names_to_values, names_to_updates
147 def _verify_summaries(self, output_dir, names_to_values): argument
166 for name in names_to_values:
167 self.assertAlmostEqual(names_to_values[name], saved_results[name])
/external/tensorflow/tensorflow/contrib/slim/
DREADME.md800 names_to_values, names_to_updates = slim.metrics.aggregate_metric_map({
826 names_to_values, names_to_updates = slim.metrics.aggregate_metric_map({
841 metric_values = sess.run(names_to_values.values())
842 for metric, value in zip(names_to_values.keys(), metric_values):
877 names_to_values, names_to_updates = slim.metrics.aggregate_metric_map({
885 for metric_name, metric_value in names_to_values.iteritems():
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dmetric_ops_test.py6881 names_to_values, names_to_updates = metrics.aggregate_metric_map({
6886 self.assertEqual(2, len(names_to_values))
6893 self.assertEqual(2, names_to_values['m1'].eval())
6894 self.assertEqual(4, names_to_values['m2'].eval())