You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just starting to take a look at the Gorgonia Tensor library for some ML vision stuff. I've found that Slice() is not behaving like Numpy, and my feeling is that this is a bug. Please see the following test code:
After the reshape the Tensor has dimensions 1,1,2,2. After the slice it is 2,2. Since I pass nil as the 2nd parameter to Slice(), my feeling is that it should not remove that dimension, but it does.
If I submit a pull request to fix this, will it be accepted? It's a very simple fix, but could have repercussions if others are using a work around.
The text was updated successfully, but these errors were encountered:
Hi.
Just starting to take a look at the Gorgonia Tensor library for some ML vision stuff. I've found that Slice() is not behaving like Numpy, and my feeling is that this is a bug. Please see the following test code:
After the reshape the Tensor has dimensions 1,1,2,2. After the slice it is 2,2. Since I pass nil as the 2nd parameter to Slice(), my feeling is that it should not remove that dimension, but it does.
If I submit a pull request to fix this, will it be accepted? It's a very simple fix, but could have repercussions if others are using a work around.
The text was updated successfully, but these errors were encountered: