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::CircleSum<float>(rt_kernel);
80 case circle::TensorType_INT8:
81 return impl::CircleSum<int8_t>(rt_kernel);
84 case circle::TensorType_INT32:
85 case circle::TensorType_INT64:
87 assert(
false &&
"Unsupported type");