linear_and_affine#
Generalized linear operator layer and associated utilities.
Classes
Shifts an input by a learnable offset (a bias). |
|
Applies a constant scaling factor. |
|
A generalized linear (not affine) operator, for named arrays. |
|
Container for "in-place" linear operators that preserve axis names. |
|
Protocol for an initializer for a general linear |
|
An Einsum operation that contracts based on axis names. |
|
Convenience layer that renames axes of its input. |
Functions
Checks that indices appear exactly once in the given axis specifications. |
|
|
Returns an initializer that uses a constant value. |
|
Contracts two named arrays along the given axis names. |
|
Generic variance scaling initializer. |
|
Zeros initializer for named arrays. |