35constexpr uint32_t input3TensorIdx = 2;
41OMStatus onert_micro::import::configure_kernel_CircleSlice(
const OMConfigureArgs &config_args)
44 uint16_t op_index = config_args.kernel_index;
53 const circle::Tensor *input3 = runtime_kernel.
inputs[input3TensorIdx];
57 assert(input1 !=
nullptr);
58 assert(input2 !=
nullptr);
59 assert(input3 !=
nullptr);
60 assert(output !=
nullptr);
62 status = utils::checkCondition(input1->type() ==
output->type());
66 status = utils::checkCondition(input2->type() == circle::TensorType_INT32 and
67 input3->type() == circle::TensorType_INT32);
71 status = utils::checkCondition(
OMRuntimeShape(input2).dimensionsCount() == 1 and
76 status = utils::checkCondition(
OMRuntimeShape(input1).dimensionsCount() <= MAX_DIM);
OMStatus readKernel(uint16_t op_index, core::OMRuntimeContext &runtime_context)
const circle::Tensor * outputs[maxOutputSize]
const circle::Tensor * inputs[maxInputSize]
constexpr uint32_t input1TensorIdx
constexpr uint32_t outputTensorIdx
constexpr uint32_t input2TensorIdx