ISharedParameterConsumerLayer<T>
Interfaces · AiDotNet.Interfaces
Optional contract for layers that reference trainable parameter tensors owned by another layer (such as a tied output head reading an embedding layer’s table, or a shared-substrate child block referencing a root block’s weights) without re-registering them as owned parameters.
Known implementations: TiedEmbeddingHeadLayer<T>
Methods
| Method | Summary |
|---|---|
IReadOnlyList<Tensor<T>> GetSharedTrainableParameters() |
Returns external trainable parameter tensors referenced during this layer’s forward/backward pass. |