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

Function GetOptionalInputTensor

tensorflow/lite/kernels/kernel_util.h:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92inline const TfLiteTensor* GetOptionalInputTensor(TfLiteContext* context,
93 const TfLiteNode* node,
94 int index) {
95 return GetInput(context, const_cast<TfLiteNode*>(node), index);
96}
97
98// Determines whether tensor is constant.
99inline bool IsConstantTensor(const TfLiteTensor* tensor) {

Callers 15

PrepareFunction · 0.85
EvalFunction · 0.85
PrepareFunction · 0.85
EvalFunction · 0.85
PrepareFunction · 0.85
EvalFunction · 0.85
PrepareFunction · 0.85
EvalFunction · 0.85
PadContextMethod · 0.85
PrepareFunction · 0.85

Calls 1

GetInputFunction · 0.85

Tested by

no test coverage detected