29 const auto &inputs = args.op.inputs;
30 const auto tensors = args.reader.tensors();
31 const auto tensor_1 = tensors.at(inputs.at(1));
32 assert(tensor_1 !=
nullptr);
37 switch (tensor_1->type())
39 case circle::TensorType_INT32:
40 case circle::TensorType_INT64:
49CircleNode *CircleReduceProdGraphBuilder::build_node(
const circle::OperatorT &op,
50 const std::vector<CircleNode *> &inputs,
54 node->
input(inputs.at(0));
55 node->reduction_indices(inputs.at(1));
57 const auto *options = op.builtin_options.AsReducerOptions();
58 node->keep_dims(options->keep_dims);
bool validate(const ValidateArgs &args) const final
loco::Node * input(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const