title: Pytorch crop images from Top Left Corner in Transforms
body: <p>I'm using Pytorch's <code>transforms.Compose</code> and in my dataset I have 1200x1600 (Height x Width) images.</p>
  <p>I want to crop the images starting from the Top Left Corner (0,0) so that I can have 800x800 images.</p>
  <p>I was looking in Pytorch documentation but I didn't find anything to solve my problem, so I copied the source code of <code>center_crop</code> in my project and modified it as follows:</p>
  <pre><code>def center_crop(img: Tensor, output_size: List[int]):
      # .... Other stuff of Pytorch
  
      # ....
      # Original Pytorch Code (that I commented)
      crop_top = int((image_height - crop_height + 1) * 0.5)
      crop_left = int((image_width - crop_width + 1) * 0.5)
      
      # ----
      # My modifications:
      crop_top = crop_left = 0
  
      return crop(img, crop_top, crop_left, crop_height, crop_width)
  </code></pre>
  <p>But basically I think this is quite an overkill, if it's possible I'd like to avoid to copy their code and modify it.
  Isn't there anything that already implements the desired behaviour by default, is there?</p>