def linear_normal(g, input, weight, bias):
    """Symbolic function for `linear`.

    PyTorch `nn.Linear` will be exported as ONNX node 'Gemm'.
    """
    return g.op(
        'Gemm',
        input,
        weight,
        bias,
        alpha_f=1.0,
        beta_f=1.0,
        transA_i=0,
        transB_i=1)