one_reconciliation
Bases: constant_reconciliation
The one parameter reconciliation function.
It performs the one parameter reconciliation, and returns the one reconciled parameter matrix of shape (n, D). This class inherits from the constant_reconciliation class defined above.
...
Notes
As a special case of the constant parameter reconciliation function, one reconciliation projects any input parameters to one matrix of shape (n, D) as follows: $$ \begin{equation} \psi(\mathbf{w}) = \mathbf{1} \in {R}^{n \times D}, \end{equation} $$ where the output matrix \(\mathbf{1}\) of size \(n \times D\) is filled with ones.
Source code in tinybig/reconciliation/basic_reconciliation.py
__init__(name='one_reconciliation', *args, **kwargs)
The initialization method of the one parameter reconciliation function.
It initializes an one parameter reconciliation function object. This method will call the initialization method of the constant_reconciliation class with constant parameter \(c=1.0\).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Name of the parameter reconciliation function. |
'one_reconciliation'
|
Returns:
Type | Description |
---|---|
fabrication
|
The one parameter reconciliation function object. |