19#include "kernels/Utils.h"
21#include "PALGatherND.h"
35 Tensor::element_type(kernel.
output()));
55 switch (Tensor::element_type(kernel.
input1()))
58 case DataType::FLOAT32:
59 return luci_interpreter_pal::GatherND<float, int32_t>(
63 kernels::getTensorData<int32_t>(
indies_data), kernels::getTensorData<float>(output_data));
66 assert(
false &&
"Unsupported type");
uint8_t * getConstDataByTensor(const circle::Tensor *raw_tensor)
uint8_t * getDataByTensor(const circle::Tensor *raw_tensor)
const circle::Tensor * output() const
const circle::Tensor * input2() const
const circle::Tensor * input1() const
#define LUCI_INTERPRETER_CHECK(cond)
luci_interpreter::RuntimeShape getTensorRuntimeShape(const circle::Tensor *circle_tensor, BaseRuntimeGraph *runtime_graph)
constexpr int MAX_INDICES_ND
void configure_kernel_CircleGatherND(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)
void execute_kernel_CircleGatherND(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)
T must_cast(loco::Node *node)
const loco::Dimension & dim(uint32_t axis) const