32 const auto &inputs = args.op.inputs;
33 const auto *options = args.op.builtin_options.AsGatherOptions();
35 int32_t axis = options->axis;
38 axis += inputs.size();
49CircleNode *CircleGatherGraphBuilder::build_node(
const circle::OperatorT &op,
50 const std::vector<CircleNode *> &inputs,
55 node->
params(inputs.at(0));
56 node->indices(inputs.at(1));
58 const auto *options = op.builtin_options.AsGatherOptions();
59 node->axis(options->axis);
bool validate(const ValidateArgs &args) const final
loco::Node * params(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const