Skip to content

The Juice book is out of date #181

@elidupree

Description

@elidupree

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething doesn't quite look right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions