Closed FremyCompany closed 4 years ago
Will also reduce memory consumption and processing in general due to switching to a typed array
Thanks for this pull request!
You forgot to update:
https://github.com/Planeshifter/node-word2vec/blob/25edc96223be3c196f38e719f01ef51181166901/lib/WordVector.js#L6
The proper type is number[] | Float32Array.
number[] | Float32Array
Will also reduce memory consumption and processing in general due to switching to a typed array