Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

I don't know why but this line doesn't work var sizes = _([inputSize, hiddenSizes, outputSize]).flatten(); #54

Open
bitplanets opened this issue Jan 8, 2015 · 0 comments

Comments

@bitplanets
Copy link

this

 var sizes = _([inputSize, hiddenSizes, outputSize]).flatten();

returns a lodash wrapper instance instead of an array. Please do this instead:

var sizes = _.flatten([inputSize, hiddenSizes, outputSize]);

If not your lib is not usable with lodash

var sizes = _([inputSize, hiddenSizes, outputSize]).flatten();

also at line 527.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant