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

Method IsConstant

tensorflow/core/graph/graph.h:236–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 bool IsSliceRecv() const {return class_ == NC_SLICE_RECV; }
235 bool IsFileSliceRecv() const { return class_ == NC_FILE_SLICE_RECV; }
236 bool IsConstant() const { return class_ == NC_CONSTANT; }
237 bool IsStage() const { return class_ == NC_TENSOR_BUFFER_PUT; }
238 bool IsUnstage() const { return class_ == NC_TENSOR_BUFFER_TAKE; }
239 bool IsVariable() const { return class_ == NC_VARIABLE; }

Callers 15

ExtractConstantSubgraphFunction · 0.45
EvaluateConstantTensorFunction · 0.45
IsConstantFoldableFunction · 0.45
ExpectNodeCloseMethod · 0.45
ExpectNodeEqualMethod · 0.45
RunMethod · 0.45
RegisterNodeMethod · 0.45
RegisterPadNodeMethod · 0.45
DealWithNodeFunction · 0.45

Calls

no outgoing calls

Tested by 4

ExpectNodeCloseMethod · 0.36
ExpectNodeEqualMethod · 0.36
ExpectNodeEqualFunction · 0.36
ExpectTypeAndShapeFunction · 0.36