def METHOD_NAME(self, op_name, op_def, dtype_a, dtype_b, dtype_c, ld):
    src = self.template.render(
        OperatorName=op_name,
        OperatorDef=op_def,
        DTypeA=dtype_a,
        DTypeB=dtype_b,
        DTypeC=dtype_c,
        LeadingDim=ld,
    )
    return src