google-deepmind / torch-distributions

Probability distributions, wrapped for Torch.
BSD 3-Clause "New" or "Revised" License
61 stars 25 forks source link

Switch from resize to view to deal with non-contiguous input tensors.… #42

Closed IoannisAntonoglou closed 8 years ago

IoannisAntonoglou commented 8 years ago

… This change will cause an error in the case when the input provided by the user is non-contiguous.