66 constexpr static size_t kInputTensorIdx = 0;
68 const circle::Tensor *input = rt_kernel.
inputs[kInputTensorIdx];
72 switch (input->type())
75 case circle::TensorType_FLOAT32:
76 return impl::CircleReduceMax<float>(rt_kernel);
80 case circle::TensorType_INT8:
81 return impl::CircleReduceMax<int8_t>(rt_kernel);
84 case circle::TensorType_INT32:
85 return impl::CircleReduceMax<int32_t>(rt_kernel);
87 case circle::TensorType_INT64:
88 return impl::CircleReduceMax<int64_t>(rt_kernel);
91 assert(
false &&
"Unsupported type");