| 55 | return &context->tensors[tensor_index]; |
| 56 | } |
| 57 | inline 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 | |
| 66 | inline const TfLiteTensor* GetIntermediates(TfLiteContext* context, |
| 67 | TfLiteNode* node, int index) { |
no outgoing calls
no test coverage detected