gorgonia / tensor

package tensor provides efficient and generic n-dimensional arrays in Go that are useful for machine learning and deep learning purposes
Apache License 2.0
362 stars 49 forks source link

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

Closed chewxy closed 4 years ago

chewxy commented 4 years ago
x := New(Of(Float64), WithShape(1, 10))
x.SetAt(1., 0, 1)

This panics.