31 const auto &inputs = args.op.inputs;
32 const auto tensors = args.reader.tensors();
34 assert(tensors[inputs.at(1)] !=
nullptr);
35 return tensors[inputs.at(1)]->type() == circle::TensorType_INT32;
38CircleNode *CircleExpandDimsGraphBuilder::build_node(
const circle::OperatorT &,
39 const std::vector<CircleNode *> &inputs,
43 node->
input(inputs.at(0));
44 node->axis(inputs.at(1));
bool validate(const ValidateArgs &args) const final
loco::Node * input(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const