def METHOD_NAME(image: torch.Tensor, sample_in_dir: str, file_idx: str):
    sample_in = image.detach().to("cpu").squeeze(0)
    sample_input_filename = os.path.join(sample_in_dir, f"inp-{file_idx}.npz")
    numpy.savez(sample_input_filename, sample_in)