azula.nn.utils¶
Module helpers.
Classes¶
Creates a flatten/unflatten wrapper around a backbone. |
Descriptions¶
- class azula.nn.utils.FlattenWrapper(wrappee, shape)¶
Creates a flatten/unflatten wrapper around a backbone.
The purpose of this module is to create a flatten/unflatten frontier between
azulacomponents that opperate on one-dimensional vectors and a backbone that opperates on multi-dimensional tensors, like \(C \times H \times W\) images.