23#include <mio/circle/schema_generated.h>
33 const auto &inputs = args.op.inputs;
34 auto indices_tensor = args.reader.tensors()[inputs.at(1)];
35 assert(indices_tensor !=
nullptr);
37 if (!(indices_tensor->type() == circle::TensorType::TensorType_INT32 ||
38 indices_tensor->type() == circle::TensorType::TensorType_INT64))
46CircleNode *CircleGatherNdGraphBuilder::build_node(
const circle::OperatorT &,
47 const std::vector<CircleNode *> &inputs,
52 node->
params(inputs.at(0));
53 node->indices(inputs.at(1));
bool validate(const ValidateArgs &args) const final
loco::Node * params(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const