std :: ml::module
Trait std::Parameterized
trait Parameterized {
void collect_params(&Vec<&FloatTensor> out) const;
void collect_state(&Vec<&FloatTensor> out) const;
}Required methods
Appends every trained tensor, always in the same order.
Appends what a copy or a file carries: the trained tensors, then the non-trained buffers (batch norm running statistics, spectral norms' u).