Parallel Computing and Scientific Machine Learning (SciML): Methods and Applications (MIT 18.337J/6.338J)
1.84k
stars
331
forks
source link
Two code errors in Lecture 3 Notes (probably due to Flux library changes) #61
Closed
MatthewAHarvey closed 2 years ago
Suggest Correction
produces ERROR: type Dense has no field weights:![[image](https://book.sciml.ai/notes/03/)](https://user-images.githubusercontent.com/18353208/165521856-c35cf2cc-f50b-475e-8f24-b3c09ad1ee5a.png)
I think the line should read
(weight instead of weights)
Produces ERROR: UndefVarError: params not defined![[image](https://book.sciml.ai/notes/03/)](https://user-images.githubusercontent.com/18353208/165522585-ef5bc5a7-7c55-4917-9fa0-210646d71b62.png)
I don't think Flux is exposing
params
with theusing Flux
command any more so I think the line should now readThose screenshots are taken from https://book.sciml.ai/notes/03/