IParameterMaterializationSource

Interfaces · AiDotNet.Models.Parameters

Implemented by lazy parameter sources that can make every shape-resolved slot writable.

Known implementations: NeuralNetworkBase<T>

How It Works

Read operations may remain allocation-free and report ShapeResolvedUnmaterialized. A restore is an explicit write, so registries call this hook before capturing the destination layout; otherwise a zero-sized lazy snapshot can accept a vector and then change its boundaries midway through application.

Methods

Method Summary
void MaterializeParameters() Allocates every parameter whose shape is already known.