AutoParametersAttribute

Attributes ยท AiDotNet.Attributes

Marks a layer that has migrated to generated parameter plumbing.

Inheritance: Attribute โ†’ AutoParametersAttribute

For Beginners

identify what each numeric field means; the framework then generates all repetitive parameter plumbing.

How It Works

This attribute does not classify fields. A raw Tensor<T> can be a weight, fitted state, buffer, scratch cache, alias, or externally owned storage; its CLR type, name, and nullability cannot choose safely. Each numeric-state declaration therefore carries one explicit semantic attribute, and the generator supplies the common count/read/write/restore plumbing.

It remains as a source-compatible migration marker while existing layers move to the exhaustive semantic declarations. The generator itself is driven by those member declarations, not by this class marker.

Constructors

Constructor Summary
AutoParametersAttribute()