Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetAt() doesn't work for vectorlike tensors #90

Closed
chewxy opened this issue Oct 25, 2020 · 0 comments
Closed

SetAt() doesn't work for vectorlike tensors #90

chewxy opened this issue Oct 25, 2020 · 0 comments

Comments

@chewxy
Copy link
Member

chewxy commented Oct 25, 2020

x := New(Of(Float64), WithShape(1, 10))
x.SetAt(1., 0, 1)

This panics.

chewxy added a commit that referenced this issue Oct 25, 2020
@chewxy chewxy closed this as completed in acfbdb8 Oct 26, 2020
chewxy added a commit that referenced this issue Oct 28, 2020
* Fixed #90

* Added unsqueeze, which is used in concat (instead of reshape).
unsqueeze works like reshape but is privileged - reshape cannot be used on non-contiguous views. unsqueeze can

* Updated tests as well.

* Updated travis

* updated go mod
chewxy added a commit that referenced this issue Oct 31, 2020
* Fixed #90

* Added a check for valid reshapes
chewxy added a commit that referenced this issue Nov 24, 2020
* Fixed #90

* Added a Headers only formatting option
chewxy added a commit that referenced this issue Dec 8, 2020
* Fixed #90

* Starting to clarify some semantic

* With the semantics clarified, the consopts need to change a bit too

* Updated the semantics to make it more clear

* Added an example to Dense.Data() to clarify the semantics.
Added tests for certain consopts that may be breaking -race

* Added mmap example for FromMemory

* Fixed ap.T and clarified shapes better in ap.go
Added an example for  T

* Fixes SelectByIndices

* Unnecessary checks for 0 removed, given that ProdInts have changed in function
chewxy added a commit that referenced this issue Dec 11, 2020
* Fixed #90

* Removed everything that is unsafe.Pointer to use uintptr.
Any thing that requires a unsafe.Pointer to remain will have to use a refcounter.

* genlib'd the RC stuff into scalarHeaders

* Fixed so -race will not complain

* Updated travis to make sure things test with race as well

* Added some tests for Float64Engine and Float32Engine

* Moved to using raw byte slices as per Bryan C Mills' suggestion

* More fixed from just moving to raw byte slices

* Fixed more things for array

* Fixed tests

* Fixed all syntax errors

* removed .v from array

* Fixed some off that scalar business

* Fixed the slice bits

* tests pass

* Added benchmark script

* Fixed eng_arith_manual

* Fixed inplace transpose as well
chewxy added a commit that referenced this issue Dec 30, 2020
* Fixed #90

* Added gihub action

* Removed travis

* Updated tests for numpy loading to be skipped

* Updated Test_FromMemory to skip if OS is not linux

* added pip dependency for coverage

* Ugh s/action/actions
chewxy added a commit that referenced this issue Jan 14, 2021
chewxy added a commit that referenced this issue Mar 28, 2021
* Fixed #90

* Fixed #111

* Boyscout commit to fix python/numpy testing
chewxy added a commit that referenced this issue Apr 6, 2021
* Fixed #90

* Added an example for SliceIterator
chewxy added a commit that referenced this issue Sep 16, 2021
* Fixed #90

* Added MinBetween and MaxBetween engine def

* Added code to generate Min/MaxBetween

* Moved example out from the generated file

* Generated MinBetween and MaxBetween methods for StdEng

* Added some compile time assertions

* Added API for Min/Max between

* Added better prep for min/max between of engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant