nikhilk / node-tensorflow

Node.js + TensorFlow
Apache License 2.0
587 stars 59 forks source link

Handle scalar tensors correctly #25

Closed nikhilk closed 6 years ago

nikhilk commented 6 years ago

Currently scalar values are handled as one-element lists. Support them correctly in Tensor.create and Tensor.toValue.

nikhilk commented 6 years ago

Fix is in c922be1d5b8946545ef1ab7b511270a0f66bb07e

nikhilk commented 6 years ago

Fix included in 0.7.0.