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

Function ResolveAxis

tensorflow/lite/kernels/reduce.cc:262–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void ResolveAxis(const int* axis_data, int axis_count,
263 tflite::MeanParams* op_params) {
264 int i = 0;
265 for (; i < axis_count; ++i) {
266 op_params->axis[i] = static_cast<int16>(axis_data[i]);
267 }
268 for (; i < 4; ++i) {
269 op_params->axis[i] = 1;
270 }
271}
272
273template <KernelType kernel_type>
274TfLiteStatus EvalMean(TfLiteContext* context, TfLiteNode* node) {

Callers 1

EvalMeanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected