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

Method Match

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

Source from the content-addressed store, hash-verified

240 explicit AllOfPattern(const Patterns&... patterns) : patterns_(patterns...) {}
241
242 bool Match(const Item* item, MatchOption option) const {
243 bool matched = MatchImpl(item, option, std::integral_constant<size_t, 0>());
244 // This invariant is guaranteed by the top-level Match and AnyOf.
245 DCHECK(matched || !option.capture);
246 return matched;
247 }
248
249 bool Match(Item* item, MatchOption option) const {
250 bool matched = MatchImpl(item, option, std::integral_constant<size_t, 0>());

Callers 12

StripLogHeadersFunction · 0.45
MatchFunction · 0.45
MatchImplMethod · 0.45
MatchMethod · 0.45
MatchRecursiveImplMethod · 0.45
MatchMethod · 0.45
MatchImplMethod · 0.45
MatchMethod · 0.45
MatchMethod · 0.45
MatchImplMethod · 0.45
MatchImplMethod · 0.45
MatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected