Home
last modified time | relevance | path

Searched refs:match_result (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/quantize/python/
Dgraph_matcher_test.py78 match_result = match_results[0]
79 self.assertEqual(match_result.get_tensor(inputs_pattern), inputs)
80 self.assertEqual(match_result.get_tensor('inputs'), inputs)
103 match_result = match_results[0]
106 self.assertEqual(match_result.get_op(y1_pattern), y1.op)
107 self.assertEqual(match_result.get_tensor(y1_pattern), y1)
125 match_result.get_op(add_or_sub_pattern)
126 for match_result in matcher.match_graph(g)
151 [match_result] = list(matcher.match_graph(g))
152 self.assertEqual(match_result.get_tensor(reshape_pattern), reshape)
[all …]
Dgraph_matcher.py84 match_result = MatchResult()
85 match_result.add(self, op, tensor)
89 return match_result
107 match_result.merge_from(input_match_result)
109 return match_result
121 match_result = sub_pattern.match(op, tensor)
122 if match_result is not None:
123 return match_result
229 match_result = pattern.match(op, tensor)
230 if match_result is None:
[all …]
Dquantize.py484 for match_result in post_activation_bypass_layer_matcher.match_graph(graph):
485 layer_op = match_result.get_op(layer_pattern)
486 weight_tensor = match_result.get_tensor(weight_identity_pattern)
488 weight_tensor = match_result.get_tensor(weight_resource_var_pattern)
490 weight_tensor = match_result.get_tensor(folded_weight_pattern)
491 activation_op = match_result.get_op(activation_pattern)
492 bias_add_op = match_result.get_op(bias_add_pattern)
494 bias_add_op = match_result.get_op(folded_bias_add_pattern)
495 bypass_op = match_result.get_op(bypass_pattern)
496 post_activation_bypass_op = match_result.get_op(
[all …]
Dfold_batch_norms.py215 def _GetLayerMatch(match_result): argument
231 layer_op = match_result.get_op(layer_pattern)
232 layer_tensor = match_result.get_tensor(layer_pattern)
233 bn_id_op = match_result.get_op(batch_norm_identity_pattern)
234 bn_op = match_result.get_op(batch_norm_pattern)
244 output_reshape_op = match_result.get_op(matmul_bn_output_reshape_pattern)
256 batch_to_space_op = match_result.get_op(batch_to_space_pattern)
257 input_tensor = match_result.get_tensor(input_pattern)
258 weight_tensor = match_result.get_tensor(weight_pattern)
259 gamma_tensor = match_result.get_tensor(gamma_pattern)
[all …]
/external/libchrome/mojo/public/tools/bindings/
Dgenerate_type_mappings.py99 match_result = mapping_pattern.match(typename)
100 assert match_result, (
103 mojom_type = match_result.group(1)
104 native_type = match_result.group(2)
106 if match_result.group(3):
107 attributes = match_result.group(3).split(',')
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/
Dkernel_ExternalUsbPeripheralsDetectionTest.py46 match_result = False
48 match_result = (match_result or
50 if not match_result:
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Dlcssa.cpp57 auto match_result = effcee::Match(assembly, original); in Match() local
58 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
59 << match_result.message() << "\nChecking result:\n" in Match()
Dpeeling.cpp57 auto match_result = effcee::Match(assembly, checks); in Match() local
58 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
59 << match_result.message() << "\nChecking result:\n" in Match()
Dfusion_legal.cpp58 auto match_result = effcee::Match(assembly, checks); in Match() local
59 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
60 << match_result.message() << "\nChecking result:\n" in Match()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dlcssa.cpp57 auto match_result = effcee::Match(assembly, original); in Match() local
58 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
59 << match_result.message() << "\nChecking result:\n" in Match()
Dpeeling.cpp57 auto match_result = effcee::Match(assembly, checks); in Match() local
58 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
59 << match_result.message() << "\nChecking result:\n" in Match()
Dfusion_legal.cpp58 auto match_result = effcee::Match(assembly, checks); in Match() local
59 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
60 << match_result.message() << "\nChecking result:\n" in Match()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_fixture.h180 auto match_result = effcee::Match(disassembly, original); in SinglePassRunAndMatch() local
181 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in SinglePassRunAndMatch()
182 << match_result.message() << "\nChecking result:\n" in SinglePassRunAndMatch()
Dir_builder.cpp62 auto match_result = effcee::Match(assembly, original); in Match() local
63 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
64 << match_result.message() << "\nChecking result:\n" in Match()
Dtype_manager_test.cpp58 auto match_result = effcee::Match(assembly, original); in Match() local
59 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
60 << match_result.message() << "\nChecking result:\n" in Match()
Dfold_test.cpp54 auto match_result = effcee::Match(disassembly, original); in Match() local
55 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
56 << match_result.message() << "\nChecking result:\n" in Match()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_fixture.h180 auto match_result = effcee::Match(disassembly, original); in SinglePassRunAndMatch() local
181 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in SinglePassRunAndMatch()
182 << match_result.message() << "\nChecking result:\n" in SinglePassRunAndMatch()
Dir_builder.cpp62 auto match_result = effcee::Match(assembly, original); in Match() local
63 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
64 << match_result.message() << "\nChecking result:\n" in Match()
Dtype_manager_test.cpp58 auto match_result = effcee::Match(assembly, original); in Match() local
59 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
60 << match_result.message() << "\nChecking result:\n" in Match()
Dfold_test.cpp54 auto match_result = effcee::Match(disassembly, original); in Match() local
55 EXPECT_EQ(effcee::Result::Status::Ok, match_result.status()) in Match()
56 << match_result.message() << "\nChecking result:\n" in Match()
/external/libtextclassifier/annotator/datetime/
Dextractor.cc166 UnicodeText* match_result) const { in ExtractType()
183 if (match_result != nullptr) { in ExtractType()
184 *match_result = matcher->Group(&status); in ExtractType()
Dextractor.h71 UnicodeText* match_result = nullptr) const;
/external/curl/lib/vtls/
Dschannel_verify.c370 int match_result; in verify_host() local
372 match_result = Curl_cert_hostcheck(cert_hostname, conn_hostname); in verify_host()
373 if(match_result == CURL_HOST_MATCH) { in verify_host()
/external/autotest/server/site_tests/platform_ExternalUsbPeripherals/
Dplatform_ExternalUsbPeripherals.py231 match_result = self.wait_for_cmd_output(
234 usb_check_result = usb_check_result and match_result
/external/autotest/client/cros/faft/utils/
Dfirmware_updater.py214 def _extract_path_from_match(match_result, model): argument
224 pathname = match_result.group(1).replace('"', '')

12