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

Implement @egonelbre's optimization for FlatIterator #21

Open chewxy opened 6 years ago

chewxy commented 6 years ago

https://github.com/egonelbre/exp/blob/master/niterator/onearrrevadvance/iterator.go#L58