56 const circle::Tensor *input = runtime_kernel.
inputs[inputTensorIdx];
57 const circle::Tensor *
begin = runtime_kernel.
inputs[beginTensorIdx];
58 const circle::Tensor *end = runtime_kernel.
inputs[endTensorIdx];
59 const circle::Tensor *strides = runtime_kernel.
inputs[stridesTensorIdx];
61 const circle::Tensor *output = runtime_kernel.
outputs[outputTensorIdx];
63 assert(input !=
nullptr);
64 assert(
begin !=
nullptr);
65 assert(end !=
nullptr);
66 assert(strides !=
nullptr);
67 assert(output !=
nullptr);
69 status = utils::checkCondition(input->type() == output->type());
73 status = utils::checkCondition(
begin->type() == circle::TensorType_INT32 and
74 end->type() == circle::TensorType_INT32 and
75 strides->type() == circle::TensorType_INT32);