Derive Macro Module

Source
#[derive(Module)]
Expand description

ยงProcedural macro Module

Implements IntoIterator<Item = &Tensor> and IntoIterator<Item = &mut Tensor> for your struct.

This allows saving, loading, backpropagation and updating your modules.