FluxML / fluxml.github.io

Flux Website
https://fluxml.ai
MIT License
20 stars 45 forks source link

fix: Change how data is packed in tutorial #102

Closed chipbuster closed 2 years ago

chipbuster commented 2 years ago

Due to a bug, the code in getting_started trained a scalar model using only part of the generated training data. This commit changes how samples are packed into the data vector, which causes the code to train a function from 5-vectors onto 2-vectors (as was intended).

Closes #101