
memory_format ("torch.memory_format", optional) -- the
        desired memory format of Tensor. Default:
        "torch.contiguous_format". Note that memory format of "self"
        is going to be unaffected if "self.size()" matches "sizes".

Example:
  >>> x = torch.tensor([[1, 2], [3, 4], [5, 6]])
  >>> x.resize_(2, 2)
  tensor([[ 1,  2],
          [ 3,  4]])
