28OMStatus onert_micro::import::configure_kernel_CirclePack(
const OMConfigureArgs &config_args)
31 uint16_t op_index = config_args.kernel_index;
41 const auto *t0 = runtime_kernel.
inputs[0];
44 if (
output->type() != t0->type())
47 const auto *params = runtime_kernel.
first_operator->builtin_options_as_PackOptions();
50 int axis = params->axis();
52 axis += input_shape.dimensionsCount();
54 if (axis < 0 or axis > input_shape.dimensionsCount())
60 if (
tensor->type() != t0->type())
const circle::Operator * first_operator
OMStatus readKernel(uint16_t op_index, core::OMRuntimeContext &runtime_context)
const circle::Tensor * outputs[maxOutputSize]
const circle::Tensor * inputs[maxInputSize]