Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug in Reshape, where a slice of a slice cannot be reshaped. (#…
…359) This is fixed in two ways: 1. If the input is a `View` then it is materialized. This requires more memory, but it is more worth it to allocate than to stress over calculating how much extra overhead to allocate for sharing memories 2. `ShallowClone` is fixed in package `tensor` to make sure that views are correctly shallow cloned as well
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters