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

Method is_constant

tensorflow/compiler/xla/cpu_function_runtime.h:43–43  ·  view source on GitHub ↗

Returns true if this buffer stores a constant. These never need to be allocated by the runtime.

Source from the content-addressed store, hash-verified

41 // Returns true if this buffer stores a constant. These never need to be
42 // allocated by the runtime.
43 bool is_constant() const { return kind() == Kind::kConstant; }
44
45 // Returns true if this buffer stores an entry parameter. These may or may
46 // not need to be allocated by the runtime, depending on

Callers 5

GetRealValueMethod · 0.45
_ConcatGradHelperFunction · 0.45
_capture_helperMethod · 0.45
initializeMethod · 0.45
PrintFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected