Skip to main content

Module

Derive Macro Module 

Source
#[derive(Module)]
Expand description

ยงProcedural macro Module

Implements FromIterator<Item = (String, Tensor)> and Module for your struct.

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