26static void convertSqrt(
const onnx::NodeProto &onnx_node, ConverterContext *context)
28 std::vector<mir::Operation::Output *>
inputs = context->getNodeInputs(onnx_node);
30 assert(
inputs.size() == 1);
31 auto result = createOp<mir::ops::SqrtOp>(graph, inputs[0])->getOutput(0);
33 context->setNodeOutputs(onnx_node, {
result});
38 convertSqrt(onnx_node, context);
43 convertSqrt(onnx_node, context);
void convertSqrtV1(const onnx::NodeProto &onnx_node, ConverterContext *context)
void convertSqrtV6(const onnx::NodeProto &onnx_node, ConverterContext *context)