def emit_instance(op):
    """emit instance"""
    import cutlass_lib

    if hasattr(op, "binary_op"):
        emiter = cutlass_lib.conv2d_operation.EmitConv2dWithBroadcastInstance()
    else:
        emiter = cutlass_lib.conv2d_operation.EmitConv2dInstance()
    op_def = emiter.emit(op)
    return op_def
emit instance
python/aitemplate/backend/cuda/conv2d/common.py