def METHOD_NAME(bimask):
    pass
    # if len(bimask.shape) == 3:
    #     return _mask.encode(bimask)
    # elif len(bimask.shape) == 2:
    #     h, w = bimask.shape
    #     return _mask.encode(bimask.reshape((h, w, 1), order='F'))[0]