Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dstats_dataset_test_base.py36 summary_proto = summary_pb2.Summary()
37 summary_proto.ParseFromString(summary_str)
38 for value in summary_proto.value:
41 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto))
48 summary_proto = summary_pb2.Summary()
49 summary_proto.ParseFromString(summary_str)
50 for value in summary_proto.value:
57 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto))
60 summary_proto = summary_pb2.Summary()
61 summary_proto.ParseFromString(summary_str)
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dquantile_ops.cc209 ::boosted_trees::QuantileSummaryState* summary_proto) { in CopySummaryToProto() argument
210 summary_proto->mutable_entries()->Reserve(summary.Size()); in CopySummaryToProto()
212 auto* new_entry = summary_proto->add_entries(); in CopySummaryToProto()
320 ::boosted_trees::QuantileSummaryState* summary_proto = in Compute()
326 summary_proto, in Compute()
330 entries.reserve(summary_proto->entries_size()); in Compute()
331 for (const auto& entry : summary_proto->entries()) { in Compute()
393 ::boosted_trees::QuantileSummaryState* summary_proto = in Compute()
397 CopySummaryToProto(summary, summary_proto); in Compute()
401 summary_proto->SerializeToString(&output_t->scalar<string>()()); in Compute()
[all …]
/external/tensorflow/tensorflow/contrib/testing/python/framework/
Dfake_summary_writer.py101 summary_proto = summary_pb2.Summary()
102 summary_proto.ParseFromString(summ)
103 summ = summary_proto
Dutil_test.py27 def assert_summary(expected_tags, expected_simple_values, summary_proto): argument
39 for value in summary_proto.value:
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator.py349 summary_proto = summary_pb2.Summary()
357 summary_proto.value.add(tag=key, simple_value=float(dictionary[key]))
361 summary_proto.value.add(tag=key, simple_value=int(dictionary[key]))
367 summary_proto.value.extend(summ.value)
373 value = summary_proto.value.add()
388 summary_writer.add_summary(summary_proto, current_global_step)