DistinctImplementationOfAttribute

Attributes ยท AiDotNet.Attributes

Declares that a model and another model citing the same paper under the same name are different networks.

Inheritance: Attribute โ†’ DistinctImplementationOfAttribute

How It Works

A paper sometimes defines a family rather than one network: Lumina-T2X generates images and videos with differently configured transformers, and WaveNet is both an audio vocoder and a forecasting network. Two models that implement different parts of such a paper are not duplicates.

The analyzer checks the claim against the code: if the two models share a network that no model of another paper uses, they are one network and must say so with TaskVariantOfAttribute instead (ADNDEF005).

Constructors

Constructor Summary
DistinctImplementationOfAttribute(Type other, string reason) Creates the declaration.

Properties

Property Summary
Type Other { get; } The other model, as an open generic type (for example typeof(WaveNet<>)).
string Reason { get; } What the paper defines that makes the two networks different.