26static void convertSigmoid(
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::SigmoidOp>(graph, inputs[0])->getOutput(0);
33 context->setNodeOutputs(onnx_node, {
result});
38 convertSigmoid(onnx_node, context);
43 convertSigmoid(onnx_node, context);
void convertSigmoidV6(const onnx::NodeProto &onnx_node, ConverterContext *context)
void convertSigmoidV1(const onnx::NodeProto &onnx_node, ConverterContext *context)