juice icon indicating copy to clipboard operation
juice copied to clipboard

The Juice book is out of date

Open elidupree opened this issue 2 years ago • 0 comments

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 avatar Dec 30 '22 18:12 elidupree