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

Function Eval

tensorflow/lite/experimental/micro/kernels/reshape.cc:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
77 const TfLiteTensor* input = GetInput(context, node, kInputTensor);
78 TfLiteTensor* output = GetOutput(context, node, kOutputTensor);
79 if (ReshapeOutput(context, node) != kTfLiteOk) {
80 return kTfLiteError;
81 }
82
83 for (int i = 0; i < input->bytes; ++i) {
84 output->data.raw[i] = input->data.raw[i];
85 }
86 return kTfLiteOk;
87}
88
89} // namespace reshape
90

Callers

nothing calls this directly

Calls 3

GetInputFunction · 0.85
GetOutputFunction · 0.85
ReshapeOutputFunction · 0.85

Tested by

no test coverage detected