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

Function PrepareAny

tensorflow/lite/kernels/reduce.cc:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232TfLiteStatus PrepareAny(TfLiteContext* context, TfLiteNode* node) {
233 TF_LITE_ENSURE_EQ(context, NumInputs(node), 2);
234 const TfLiteTensor* input = GetInput(context, node, 0);
235 TF_LITE_ENSURE_EQ(context, input->type, kTfLiteBool);
236 return PrepareSimple(context, node);
237}
238
239TfLiteStatus PrepareMeanOrSum(TfLiteContext* context, TfLiteNode* node) {
240 TF_LITE_ENSURE_OK(context, PrepareSimple(context, node));

Callers

nothing calls this directly

Calls 3

NumInputsFunction · 0.85
GetInputFunction · 0.85
PrepareSimpleFunction · 0.85

Tested by

no test coverage detected