def unpreprocess(data, shape=(1, 1, 3, 1, 1)):
    device = data.device
    mean = torch.tensor([((- 0.485) / 0.229), ((- 0.456) / 0.224), ((- 0.406) / 0.225)]).view(*shape).to(device)
    std = torch.tensor([(1 / 0.229), (1 / 0.224), (1 / 0.225)]).view(*shape).to(device)
    return ((data - mean) / std)
def unpreprocess(data, shape=(1, 1, 3, 1, 1)):
    device = data.device
    mean = torch.tensor([((- 0.485) / 0.229), ((- 0.456) / 0.224), ((- 0.406) / 0.225)]).view(*shape).to(device)
    std = torch.tensor([(1 / 0.229), (1 / 0.224), (1 / 0.225)]).view(*shape).to(device)
    return ((data - mean) / std)