Class SerializationVersionAttribute
Sets the serialization version of the learner.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners
Assembly: Microsoft.ML.Probabilistic.Learners.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true, AllowMultiple = false)]
public class SerializationVersionAttribute : Attribute
Constructors
SerializationVersionAttribute(Int32)
Initializes a new instance of the SerializationVersionAttribute class.
Declaration
public SerializationVersionAttribute(int serializationVersion)
Parameters
Type | Name | Description |
---|---|---|
Int32 | serializationVersion | The serialization version of the learner. |
Properties
SerializationVersion
Gets the serialization version of the learner.
Declaration
public int SerializationVersion { get; }
Property Value
Type | Description |
---|---|
Int32 |