BatchShapeMixin¶
- class BatchShapeMixin(shape: tuple[int, ...] | int, batch_size: int)[source]¶
Bases:
ShapeMixin,BatchMixinMixin for modules with a concept of shape and with batch-size dependencies.
- Parameters:
Bases: ShapeMixin, BatchMixin
Mixin for modules with a concept of shape and with batch-size dependencies.