Home
last modified time | relevance | path

Searched refs:summary (Results 1 – 25 of 2804) sorted by relevance

12345678910>>...113

/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_summary_test.cc74 Summary summary; in TEST_F() local
75 summary.BuildFromBufferEntries(buffer1_->GenerateEntryList()); in TEST_F()
78 EXPECT_EQ(summary.ApproximationError(), 0); in TEST_F()
81 const auto& entries = summary.GetEntryList(); in TEST_F()
83 EXPECT_EQ(summary.MinValue(), buffer1_min_value_); in TEST_F()
86 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); in TEST_F()
89 EXPECT_EQ(summary.TotalWeight(), buffer1_total_weight_); in TEST_F()
95 Summary summary; in TEST_F() local
96 summary.BuildFromBufferEntries(entry_list); in TEST_F()
97 summary.Compress(new_size); in TEST_F()
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_summary_test.cc75 Summary summary; in TEST_F() local
76 summary.BuildFromBufferEntries(buffer1_->GenerateEntryList()); in TEST_F()
79 EXPECT_EQ(summary.ApproximationError(), 0); in TEST_F()
82 const auto& entries = summary.GetEntryList(); in TEST_F()
84 EXPECT_EQ(summary.MinValue(), buffer1_min_value_); in TEST_F()
87 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); in TEST_F()
90 EXPECT_EQ(summary.TotalWeight(), buffer1_total_weight_); in TEST_F()
96 Summary summary; in TEST_F() local
97 summary.BuildFromBufferEntries(entry_list); in TEST_F()
98 summary.Compress(new_size); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsummary_op_test.cc70 Summary summary; in TEST_F() local
71 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
72 EXPECT_SummaryMatches(summary, R"( in TEST_F()
90 Summary summary; in TEST_F() local
91 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
92 EXPECT_SummaryMatches(summary, R"( in TEST_F()
110 Summary summary; in TEST_F() local
111 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
112 EXPECT_SummaryMatches(summary, R"( in TEST_F()
179 Summary summary; in TEST_F() local
[all …]
Dsummary_image_op_test.cc60 void CheckAndRemoveEncodedImages(Summary* summary) { in CheckAndRemoveEncodedImages() argument
61 for (int i = 0; i < summary->value_size(); ++i) { in CheckAndRemoveEncodedImages()
62 Summary::Value* value = summary->mutable_value(i); in CheckAndRemoveEncodedImages()
89 Summary summary; in TEST_F() local
90 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
92 CheckAndRemoveEncodedImages(&summary); in TEST_F()
93 EXPECT_SummaryMatches(summary, R"( in TEST_F()
112 Summary summary; in TEST_F() local
113 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
115 CheckAndRemoveEncodedImages(&summary); in TEST_F()
[all …]
Dsummary_audio_op_test.cc61 void CheckAndRemoveEncodedAudio(Summary* summary) { in CheckAndRemoveEncodedAudio() argument
62 for (int i = 0; i < summary->value_size(); ++i) { in CheckAndRemoveEncodedAudio()
63 Summary::Value* value = summary->mutable_value(i); in CheckAndRemoveEncodedAudio()
95 Summary summary; in TEST_F() local
96 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
98 CheckAndRemoveEncodedAudio(&summary); in TEST_F()
99 EXPECT_SummaryMatches(summary, R"( in TEST_F()
129 Summary summary; in TEST_F() local
130 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); in TEST_F()
132 CheckAndRemoveEncodedAudio(&summary); in TEST_F()
[all …]
/external/autotest/client/bin/result_tools/
Dresult_info_unittest.py70 summary = result_info.load_summary_json_file(summary_file)
72 self.assertEqual(_EXPECTED_SUMMARY, summary,
76 result_info.save_summary(summary, summary_file_new)
83 self.assertEqual(summary.path, self.test_dir)
84 self.assertEqual(summary.get_file('file1').path,
86 self.assertEqual(summary.get_file('folder1').get_file('file2').path,
90 new_summary = copy.deepcopy(summary)
92 summary._path = None
93 summary.get_file('file1')._path = None
94 summary.get_file('file1').original_size = 0
[all …]
Dutils.py151 def _relocate_summary(result_dir, summary_file, summary): argument
163 return summary
178 for info in summary.files:
216 summary = result_info.load_summary_json_file(summary_file)
217 summary = _relocate_summary(path, summary_file, summary)
218 all_summaries.append(summary)
225 for summary in all_summaries[1:]:
226 merged_summary.merge(summary)
247 def _throttle_results(summary, max_result_size_KB): argument
253 if throttler_lib.check_throttle_limit(summary, max_result_size_KB):
[all …]
/external/tensorflow/tensorflow/python/summary/
Dsummary_test.py37 from tensorflow.python.summary import summary as summary_lib
49 summary = summary_pb2.Summary()
50 summary.ParseFromString(summary_str)
51 values = summary.value
66 summary = summary_pb2.Summary()
68 summary.ParseFromString(sm1)
69 values = summary.value
74 summary.ParseFromString(sm2)
75 values = summary.value
89 summary = summary_pb2.Summary()
[all …]
/external/objenesis/tck/src/main/java/org/objenesis/tck/
DTextReporter.java60 private final PrintStream summary; field in TextReporter
86 public TextReporter(PrintStream summary, PrintStream log) { in TextReporter() argument
87 this.summary = summary; in TextReporter()
148 summary.println("Running TCK on platform: " + platformDescription); in printResult()
149 summary.println(); in printResult()
152 summary.println("Instantiators used: "); in printResult()
156 summary.println(" " + o.getKey() + ": " + inst); in printResult()
158 summary.println(); in printResult()
161 summary.println("Not serializable parent constructor called as expected: " in printResult()
163 summary.println(); in printResult()
[all …]
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh127 summary=""
131 summary="$summary Badness: $n_badness"
136 summary="$summary Warnings: $n_warn"
141 summary="$summary Bugs: $n_bugs"
146 summary="$summary Call Traces: $n_calltrace"
151 summary="$summary lockdep: $n_badness"
156 summary="$summary Stalls: $n_stalls"
161 summary="$summary Starves: $n_starves"
163 print_warning Summary: $summary
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwps-nfc.py32 def summary(txt): function
39 summary(txt)
148 summary("received handover request {}".format(request.type))
151 summary("not a handover request")
156 summary("error decoding 'Hr' message: {}".format(e))
159 summary("send handover response {}".format(response.type))
164 summary("HandoverServer - request received")
175 summary("WPS carrier type match - add WPS carrier record")
178 summary("Could not get handover select carrier record from wpa_supplicant")
186 summary("Handover report rejected (responder)")
[all …]
Dp2p-nfc.py39 def summary(txt): function
46 summary(txt)
161 summary("Could not get handover request carrier record from wpa_supplicant")
190 summary("Trying to initiate NFC connection handover")
192 summary("Connected for handover")
194 summary("Handover connection refused")
198 summary("Other exception: " + str(e))
202 summary("Sending handover request")
205 summary("Failed to send handover request")
209 summary("Receiving handover response")
[all …]
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc105 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
106 EXPECT_EQ(e.summary().value(0).tag(), "name"); in TEST_F()
120 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
121 EXPECT_EQ(e.summary().value(0).tag(), "name"); in TEST_F()
122 EXPECT_EQ(e.summary().value(0).tensor().dtype(), DT_STRING); in TEST_F()
123 EXPECT_EQ(e.summary().value(0).tensor().string_val()[0], "hello"); in TEST_F()
139 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
140 EXPECT_EQ(e.summary().value(0).tag(), "name"); in TEST_F()
141 EXPECT_EQ(e.summary().value(0).simple_value(), 1.0); in TEST_F()
157 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
[all …]
/external/grpc-grpc/test/cpp/qps/
Dreport.cc82 gpr_log(GPR_INFO, "QPS: %.1f", result.summary().qps()); in ReportQPS()
83 if (result.summary().failed_requests_per_second() > 0) { in ReportQPS()
85 result.summary().failed_requests_per_second()); in ReportQPS()
87 result.summary().successful_requests_per_second()); in ReportQPS()
122 gpr_log(GPR_INFO, "QPS: %.1f (%.1f/server core)", result.summary().qps(), in ReportQPSPerCore()
123 result.summary().qps_per_server_core()); in ReportQPSPerCore()
129 result.summary().latency_50() / 1000, in ReportLatency()
130 result.summary().latency_90() / 1000, in ReportLatency()
131 result.summary().latency_95() / 1000, in ReportLatency()
132 result.summary().latency_99() / 1000, in ReportLatency()
[all …]
/external/wpa_supplicant_8/hostapd/
Dwps-ap-nfc.py28 def summary(txt): function
35 summary(txt)
119 summary("received handover request {}".format(request.type))
122 summary("not a handover request")
127 summary("error decoding 'Hr' message: {}".format(e))
130 summary("send handover response {}".format(response.type))
134 summary("HandoverServer - request received")
146 summary("WPS carrier type match - add WPS carrier record")
149 summary("Could not get handover select carrier record from hostapd")
156 summary("Handover report rejected")
[all …]
/external/tensorflow/tensorflow/examples/tutorials/mnist/
Dmnist_with_summaries.py53 tf.summary.image('input', image_shaped_input, 10)
70 tf.summary.scalar('mean', mean)
73 tf.summary.scalar('stddev', stddev)
74 tf.summary.scalar('max', tf.reduce_max(var))
75 tf.summary.scalar('min', tf.reduce_min(var))
76 tf.summary.histogram('histogram', var)
96 tf.summary.histogram('pre_activations', preactivate)
98 tf.summary.histogram('activations', activations)
105 tf.summary.scalar('dropout_keep_probability', keep_prob)
125 tf.summary.scalar('cross_entropy', cross_entropy)
[all …]
/external/autotest/site_utils/
Dtest_push_common.py98 summary = []
100 summary.append(('Results of %d test(s) do not match expected '
102 summary.extend(test_push_errors.mismatch_errors)
103 summary.append('\n')
106 summary.append('%d test(s) are not expected to be run:' %
108 summary.extend(test_push_errors.unknown_tests)
109 summary.append('\n')
112 summary.append('%d test(s) are missing from the results:' %
114 summary.extend(test_push_errors.missing_tests)
115 summary.append('\n')
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/FunctionImport/
Dfuncimport_forcecold_samplepgo.ll1 ; Test to ensure that building summary with -force-summary-edges-cold
8 ; RUN: opt -module-summary %s -o %t.bc
9 ; RUN: opt -module-summary %p/Inputs/funcimport_forcecold.ll -o %t2.bc
11 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
13 ; Next rebuild caller module summary with only non-critical edges forced cold,
15 ; RUN: opt -force-summary-edges-cold=all-non-critical -module-summary %s -o %t.bc
17 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
19 ; Next rebuild caller module summary with all edges forced cold.
21 ; RUN: opt -force-summary-edges-cold=all -module-summary %s -o %t.bc
23 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
Dfuncimport_forcecold.ll1 ; Test to ensure that building summary with -force-summary-edges-cold
8 ; RUN: opt -module-summary %s -o %t.bc
9 ; RUN: opt -module-summary %p/Inputs/funcimport_forcecold.ll -o %t2.bc
11 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
13 ; Next rebuild caller module summary with non-critical edges forced cold (which
16 ; RUN: opt -force-summary-edges-cold=all-non-critical -module-summary %s -o %t.bc
18 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
20 ; Next rebuild caller module summary with all edges forced cold.
22 ; RUN: opt -force-summary-edges-cold=all -module-summary %s -o %t.bc
24 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
/external/scapy/scapy/contrib/
Dsebek.uts11 assert pkt.summary() == "IP / UDP / SebekHead / Sebek v1 read ('diepotato')"
20 assert pkt.summary() == "IP / UDP / SebekHead / Sebek v2 socket ('diepotato')"
29 assert pkt.summary() == "IPv6 / UDP / SebekHead / Sebek v3 read ('')"
37 assert SebekHead(version=2).summary() == "Sebek Header v2 read"
38 assert SebekV1(cmd="diepotato").summary() == "Sebek v1 ('diepotato')"
39 assert SebekV2(cmd="diepotato").summary() == "Sebek v2 ('diepotato')"
40 assert (SebekHead()/SebekV2(cmd="nottoday")).summary() == "SebekHead / Sebek v2 read ('nottoday')"
41 assert SebekV3(cmd="diepotato").summary() == "Sebek v3 ('diepotato')"
42 assert (SebekHead()/SebekV3(cmd="nottoday")).summary() == "SebekHead / Sebek v3 read ('nottoday')"
43 assert SebekV3Sock(cmd="diepotato").summary() == "Sebek v3 socket ('diepotato')"
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dlosses_impl.py52 from tensorflow.python.summary import summary
113 summary.scalar('generator_wass_loss', loss)
167 summary.scalar('discriminator_gen_wass_loss', loss_on_generated)
168 summary.scalar('discriminator_real_wass_loss', loss_on_real)
169 summary.scalar('discriminator_wass_loss', loss)
240 summary.scalar('discriminator_gen_ac_loss', loss_on_generated)
241 summary.scalar('discriminator_real_ac_loss', loss_on_real)
242 summary.scalar('discriminator_ac_loss', loss)
295 summary.scalar('generator_ac_loss', loss)
396 summary.scalar('gradient_penalty_loss', penalty)
[all …]
/external/autotest/venv/skylab_staging/
Dtest_push_unittest.py36 summary = test_push._verify_and_summarize(available_views,
38 assert len(summary) == 0
48 summary = test_push._verify_and_summarize(available_views,
50 assert len(summary) != 0
51 assert 'dummy_Pass' in summary[1]
61 summary = test_push._verify_and_summarize(available_views,
63 assert len(summary) != 0
64 assert 'login_LoginSuccess' in summary[1]
/external/autotest/utils/
Dsummarize_loadtest.py74 summary = {
77 summary.update({key: summarize_tags(entries, key) for key in TAG_KEYS
79 summary.update({key: summarize_values(entries, key) for key in VALUE_KEYS
81 return summary
94 summary = {}
97 summary['min'] = min(values)
98 summary['max'] = max(values)
99 summary['avg'] = sum(values) / num_values
102 summary['num'] = num_values
103 summary['skipped'] = num_skipped
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_v1_ops_test.py32 from tensorflow.python.summary import summary
68 summ1 = summary.histogram("h", const)
70 merge = summary.merge([summ1, summ2])
96 summ1 = summary.histogram("h", const)
97 summ2 = summary.scalar("o", const, collections=["foo_key"])
98 summ3 = summary.scalar("c", const)
99 merge = summary.merge_all()
104 merge = summary.merge_all("foo_key")
108 self.assertTrue(summary.merge_all("bar_key") is None)
/external/tensorflow/tensorflow/python/framework/
Derror_interpolation_test.py74 summary = error_interpolation._compute_device_summary_from_list(
77 self.assertIn("nodename", summary)
78 self.assertIn("tf.device(/cpu:0)", summary)
79 self.assertIn("<hope.py:24>", summary)
80 self.assertIn("tf.device(/gpu:2)", summary)
81 self.assertIn("<please.py:42>", summary)
85 summary = error_interpolation._compute_device_summary_from_list(
87 self.assertIn("nodename", summary)
88 self.assertIn("No device assignments", summary)
102 summary = error_interpolation._compute_colocation_summary_from_dict(
[all …]

12345678910>>...113