27static void convertAbsGeneric(
const onnx::NodeProto &onnx_node, ConverterContext *context)
29 std::vector<mir::Operation::Output *>
inputs = context->getNodeInputs(onnx_node);
32 auto result = createOp<mir::ops::AbsOp>(graph, inputs[0])->getOutput(0);
34 context->setNodeOutputs(onnx_node, {
result});
39 convertAbsGeneric(onnx_node, context);
44 convertAbsGeneric(onnx_node, context);
void convertAbsV1(const onnx::NodeProto &onnx_node, ConverterContext *context)
void convertAbsV6(const onnx::NodeProto &onnx_node, ConverterContext *context)