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

Function GetTemporary

tensorflow/lite/kernels/kernel_util.h:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 return &context->tensors[tensor_index];
56}
57inline TfLiteTensor* GetTemporary(TfLiteContext* context, TfLiteNode* node,
58 int index) {
59 const int tensor_index = flatbuffers::EndianScalar(node->temporaries->data[index]);
60 if (tensor_index < 0) {
61 return nullptr;
62 }
63 return &context->tensors[tensor_index];
64}
65
66inline const TfLiteTensor* GetIntermediates(TfLiteContext* context,
67 TfLiteNode* node, int index) {

Callers 15

PrepareFunction · 0.85
EvalFunction · 0.85
PrepareFunction · 0.85
EvalHybridFunction · 0.85
PrepareFunction · 0.85
EvalFunction · 0.85
InitTemporaryTensorsFunction · 0.85
PrepareFunction · 0.85
Rfft2dHelperFunction · 0.85
PrepareFunction · 0.85
EvalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected