61 runtime_kernel.
readKernel(op_index, runtime_context);
64 constexpr static size_t kInputTensorIdx = 0;
65 const circle::Tensor *input = runtime_kernel.
inputs[kInputTensorIdx];
67 switch (input->type())
70 case circle::TensorType_FLOAT32:
72 return impl::CircleMean<float>(runtime_kernel);
78 case circle::TensorType_INT8:
80 return impl::CircleMean<int8_t>(runtime_kernel);
83 case circle::TensorType_INT32:
84 case circle::TensorType_INT64:
86 assert(
false &&
"Unsupported type");