Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Juice book is out of date #181

Open
elidupree opened this issue Dec 30, 2022 · 0 comments
Open

The Juice book is out of date #181

elidupree opened this issue Dec 30, 2022 · 0 comments
Labels
bug Something doesn't quite look right

Comments

@elidupree
Copy link

elidupree commented Dec 30, 2022

In this page, the following code

let linear_1: LayerConfig = LayerConfig::new("linear1", LinearConfig { output_size: 500 })
let linear_network_with_one_layer: Layer = Layer::from_config(backend, &linear_1);

does not compile on the current version of Juice (0.3.0), both because of the missing semicolon and because Layer now has a generic parameter.

I would guess that there are other discrepancies, but I can't comment on the code in the later chapters because I haven't yet figured out basic usage of Juice (I wouldn't expect to be able to get the later code to compile without first figuring out a bunch of things that the book does not explain to me, whether it's correct or not).

@elidupree elidupree added the bug Something doesn't quite look right label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something doesn't quite look right
Projects
None yet
Development

No branches or pull requests

1 participant