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

fixed numpy shape issue for 1D vector #93

Closed mlg556 closed 4 years ago

mlg556 commented 4 years ago

Fixed an issue in the WriteNpy() function because a N-dimensional 1D array in tensor has shape (N), however numpy expects (N,).

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.03%) to 73.064% when pulling e4eb08e0b8b44c8b0f7b5eb7b0a189339fcc6733 on mlg556:writenpy-fix into c2d767489b63fbd86d42a0cbcd82ab5d51f39361 on gorgonia:master.

chewxy commented 4 years ago

FINALLY. What a long time Travis took