Searched refs:summary_proto (Results 1 – 5 of 5) sorted by relevance
36 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 …]
209 ::boosted_trees::QuantileSummaryState* summary_proto) { in CopySummaryToProto() argument210 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 …]
101 summary_proto = summary_pb2.Summary()102 summary_proto.ParseFromString(summ)103 summ = summary_proto
27 def assert_summary(expected_tags, expected_simple_values, summary_proto): argument39 for value in summary_proto.value:
349 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)