30constexpr uint32_t inputTensorIdx = 0;
42 const circle::Tensor *
input =
nullptr;
48 runtime_kernel.
readKernel(op_index, runtime_context);
52 assert(input !=
nullptr);
54 status = runtime_kernel.
getDataFromStorage(op_index, runtime_storage, runtime_context);
61 assert(output_data !=
nullptr);
65 const auto rank = input_shape.dimensionsCount();
67 auto output_data_int = core::utils::castOutputData<int32_t>(output_data);
69 for (
int i = 0; i < rank; ++i)
71 output_data_int[i] = input_shape.dims(i);
uint8_t * outputs_data[maxOutputSize]
OMStatus getDataFromStorage(uint16_t op_index, core::OMRuntimeStorage &storage, core::OMRuntimeContext &context)
OMStatus readKernel(uint16_t op_index, core::OMRuntimeContext &runtime_context)
const circle::Tensor * inputs[maxInputSize]
constexpr uint32_t outputTensorIdx
core::OMRuntimeContext & runtime_context
core::OMRuntimeStorage & runtime_storage