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

Function NonConstant

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

Helpers for matching non-constant instructions.

Source from the content-addressed store, hash-verified

2363
2364// Helpers for matching non-constant instructions.
2365inline auto NonConstant() -> decltype(Op().IsNonConstant()) {
2366 return Op().IsNonConstant();
2367}
2368
2369template <typename HloInstructionType>
2370inline auto NonConstant(HloInstructionType** matched_inst)

Callers 4

HandleAddMethod · 0.85
HandleSubtractMethod · 0.85
HandleDivideMethod · 0.85
HandleMultiplyMethod · 0.85

Calls 2

IsNonConstantMethod · 0.80
OpFunction · 0.70

Tested by

no test coverage detected