63 constexpr static size_t kInputTensorIdx = 0;
65 const circle::Tensor *input = rt_kernel.
inputs[kInputTensorIdx];
69 switch (input->type())
72 case circle::TensorType_FLOAT32:
73 return impl::CircleSum<float>(rt_kernel);
77 case circle::TensorType_INT8:
78 return impl::CircleSum<int8_t>(rt_kernel);
81 case circle::TensorType_INT32:
82 case circle::TensorType_INT64:
84 assert(
false &&
"Unsupported type");