32constexpr uint32_t inputTensorIdx = 0;
37OMStatus onert_micro::import::configure_kernel_CircleSoftmax(
const OMConfigureArgs &config_args)
39 const circle::Tensor *
input;
40 const circle::Tensor *
output;
45 status = utils::checkCondition(
input->type() ==
output->type());
56 status = utils::checkCondition(input_shape.dimensionsCount() >= 1);
60 if (
input->type() != circle::TensorType_INT8 and
input->type() != circle::TensorType_INT16 and
61 input->type() != circle::TensorType_UINT8)
65 if (
input->quantization() ==
nullptr or
output->quantization() ==
nullptr)
68 if (
output->quantization()->scale() ==
nullptr or
output->quantization()->scale()->size() != 1)
71 if (
input->quantization()->scale() ==
nullptr or
input->quantization()->scale()->size() != 1)
74 if (
output->quantization()->zero_point() ==
nullptr or
75 output->quantization()->zero_point()->size() != 1)
78 if (
input->quantization()->zero_point() ==
nullptr or
79 input->quantization()->zero_point()->size() != 1)
int32_t dimensionsCount() const
const luci_interpreter::RuntimeShape output_shape
constexpr uint32_t outputTensorIdx
OMStatus SISOHeader(const OMExecuteArgs &execute_args, const circle::Tensor **input, const circle::Tensor **output, uint8_t **input_data, uint8_t **output_data)