MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Op

Function Op

tensorflow/compiler/xla/service/pattern_matcher.h:2027–2033  ·  view source on GitHub ↗

Creates an instruction pattern that will capture the matched instruction in the argument.

Source from the content-addressed store, hash-verified

2025// Creates an instruction pattern that will capture the matched instruction in
2026// the argument.
2027inline constexpr detail::HloInstructionPattern<
2028 const ::xla::HloInstruction, detail::HloInstructionPatternBaseImpl>
2029Op(const ::xla::HloInstruction** matched_inst = nullptr) {
2030 return detail::HloInstructionPattern<const ::xla::HloInstruction,
2031 detail::HloInstructionPatternBaseImpl>(
2032 detail::HloInstructionPatternBaseImpl(), matched_inst);
2033}
2034
2035// Creates an instruction pattern that will capture the matched instruction in
2036// the argument.

Callers 15

pattern_matcher.hFile · 0.70
NonConstantFunction · 0.70
GetTupleElementFunction · 0.70
ParameterFunction · 0.70
ConstantScalarFunction · 0.70
ConstantEffectiveScalarFunction · 0.70
HandleAddMethod · 0.70
HandleAndMethod · 0.70
HandleBitcastMethod · 0.70
HandleCopyMethod · 0.70
HandleConcatenateMethod · 0.70
HandleSubtractMethod · 0.70

Calls 1

Tested by 7

TEST_FFunction · 0.56
TEST_FFunction · 0.56
TEST_PFunction · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
TESTFunction · 0.56