pub struct Module { /* private fields */ }

Implementations

Network holder.

Create an empty module. A module is mainly used to create new variables.

Create a new variable.

Create a composed function with the given closure.

Try best evaluation of the computation graph.

Same as eval

Back propagation

Back propgation with a single value.

iterator over all data node.

iterator over all op node.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.