def METHOD_NAME(obj):
    if isinstance(obj, torch.Tensor):
        if (len(target_gpus) == 4) and (obj.size(dim) == 22):
            return Scatter.apply(target_gpus, (4, 6, 6, 6), dim, obj)
        if (len(target_gpus) == 4) and (obj.size(dim) == 60):
            return Scatter.apply(target_gpus, (12, 16, 16, 16), dim, obj)
        elif (len(target_gpus) == 4) and (obj.size(dim) == 144):
            return Scatter.apply(target_gpus, (24, 40, 40, 40), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 46):
            return Scatter.apply(target_gpus, (4, 6, 6, 6, 6, 6, 6, 6), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 62):
            return Scatter.apply(target_gpus, (6, 8, 8, 8, 8, 8, 8, 8), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 94):
            return Scatter.apply(target_gpus, (10, 12, 12, 12, 12, 12, 12, 12), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 110):
            return Scatter.apply(target_gpus, (12, 14, 14, 14, 14, 14, 14, 14), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 118):
            return Scatter.apply(target_gpus, (13, 15, 15, 15, 15, 15, 15, 15), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 126):
            return Scatter.apply(target_gpus, (14, 16, 16, 16, 16, 16, 16, 16), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 134):
            return Scatter.apply(target_gpus, (15, 17, 17, 17, 17, 17, 17, 17), dim, obj)
        elif (len(target_gpus) == 8) and (obj.size(dim) == 142):
            return Scatter.apply(target_gpus, (16, 18, 18, 18, 18, 18, 18, 18), dim, obj)
        elif (len(target_gpus) == 16) and (obj.size(dim) == 222):
            return Scatter.apply(target_gpus, (12, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14), dim, obj)
        return Scatter.apply(target_gpus, None, dim, obj)
    if isinstance(obj, tuple) and len(obj) > 0:
        return list(zip(*map(METHOD_NAME, obj)))
    if isinstance(obj, list) and len(obj) > 0:
        return list(map(list, zip(*map(METHOD_NAME, obj))))
    if isinstance(obj, dict) and len(obj) > 0:
        return list(map(type(obj), zip(*map(METHOD_NAME, obj.items()))))
    return [obj for targets in target_gpus]