Home
last modified time | relevance | path

Searched refs:OpMatcher (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dreroute_test.py45 self.assertTrue(match.OpMatcher("c0").input_ops("a1", "b1")(self.c0.op))
46 self.assertTrue(match.OpMatcher("c1").input_ops("a0", "b0")(self.c1.op))
53 self.assertTrue(match.OpMatcher("c0").input_ops("a3", "b0")(self.c0.op))
54 self.assertTrue(match.OpMatcher("c1").input_ops("a3", "b1")(self.c1.op))
58 self.assertTrue(match.OpMatcher("c0").input_ops("a0", "b0")(self.c0.op))
59 self.assertTrue(match.OpMatcher("c1").input_ops("a0", "b0")(self.c1.op))
62 self.assertTrue(match.OpMatcher("c0").input_ops("a1", "b1")(self.c0.op))
63 self.assertTrue(match.OpMatcher("c1").input_ops("a1", "b1")(self.c1.op))
88 match.OpMatcher("g").input_ops(
89 "a", match.OpMatcher("c").input_ops("a", "b"))(g.op))
[all …]
Dmatch_test.py45 self.assertTrue(match.OpMatcher("^.*/f$")(self.f.op))
47 match.OpMatcher("^.*/f$").input_ops("^.*/c$", "^.*/d$")(self.f.op))
49 match.OpMatcher("^.*/f$").input_ops(True, "^.*/d$")(self.f.op))
51 match.OpMatcher("^.*/f$").input_ops(
54 match.OpMatcher("^.*/f$").input_ops("^.*/c$", "^.*/d$")
55 .output_ops(match.OpMatcher("^.*/h$")
58 match.OpMatcher("^.*/f$").input_ops("^.*/c$", "^.*/d$").output_ops(
59 match.OpMatcher("^.*/h$").control_input_ops("^.*/c$")
Dedit_test.py58 match.OpMatcher("^foo/c$").input_ops("a", "geph__b_0")(self.c.op))
70 match.OpMatcher("^foo/bar/e$").input_ops("^z$", "foo/d$")(self.e.op))
76 match.OpMatcher("^foo/bar/h$").input_ops("^foo/c$", "foo/bar/g$")(
Dmatch.py36 if not isinstance(graph_match, OpMatcher):
37 graph_match = OpMatcher(graph_match)
60 class OpMatcher(object): class
Dtransform_test.py109 matcher0 = match.OpMatcher("AddNoise").input_ops(
110 "Noise", match.OpMatcher("Add").input_ops("Const", "Input"))
111 matcher1 = match.OpMatcher("AddNoise_1").input_ops(
112 "Noise_1", match.OpMatcher("Add_1").input_ops("Const_1", matcher0))
113 matcher2 = match.OpMatcher("AddNoise_2").input_ops(
114 "Noise_2", match.OpMatcher("Add_2").input_ops("Const_2", matcher1))
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DGlobalISelEmitter.cpp1989 if (auto *OpMatcher = dyn_cast<InstructionOpcodeMatcher>(P.get())) in getOpcodeMatcher() local
1990 return *OpMatcher; in getOpcodeMatcher()