29 std::vector<mir::Operation::Output *> inputs = context->
getNodeInputs(onnx_node);
33 const auto axis = getAttributeValue<std::int64_t>(onnx_node,
"axis", 0);
35 auto result = createOp<mir::ops::GatherOp>(graph, inputs[0], inputs[1], axis)->getOutput(0);
void setNodeOutputs(const onnx::NodeProto &onnx_node, const std::vector< mir::Operation::Output * > &outputs)
std::vector< mir::Operation::Output * > getNodeInputs(const onnx::NodeProto &onnx_node) const
mir::Graph * getGraph() const