Class ModelRegistryInfo<T, TInput, TOutput>
Contains structured model registry information from a trained model.
public record ModelRegistryInfo<T, TInput, TOutput> : IEquatable<ModelRegistryInfo<T, TInput, TOutput>>
Type Parameters
TThe numeric type used for calculations.
TInputThe type of input data.
TOutputThe type of output predictions.
- Inheritance
-
ModelRegistryInfo<T, TInput, TOutput>
- Implements
-
IEquatable<ModelRegistryInfo<T, TInput, TOutput>>
- Inherited Members
Remarks
This record provides type-safe access to model registry data, including the registered model name, version, and access to the registry for lifecycle management.
For Beginners: This is a container for model versioning and registry data.
It includes:
- The registered model name and version number
- Access to the registry for stage transitions (Staging -> Production)
- Checkpoint path for loading/saving the model
- Access to the checkpoint manager for persistence operations
Constructors
ModelRegistryInfo(string?, int?, IModelRegistry<T, TInput, TOutput>?, string?, ICheckpointManager<T, TInput, TOutput>?)
Contains structured model registry information from a trained model.
public ModelRegistryInfo(string? RegisteredName, int? Version, IModelRegistry<T, TInput, TOutput>? Registry, string? CheckpointPath, ICheckpointManager<T, TInput, TOutput>? CheckpointManager)
Parameters
RegisteredNamestringVersionint?RegistryIModelRegistry<T, TInput, TOutput>CheckpointPathstringCheckpointManagerICheckpointManager<T, TInput, TOutput>
Remarks
This record provides type-safe access to model registry data, including the registered model name, version, and access to the registry for lifecycle management.
For Beginners: This is a container for model versioning and registry data.
It includes:
- The registered model name and version number
- Access to the registry for stage transitions (Staging -> Production)
- Checkpoint path for loading/saving the model
- Access to the checkpoint manager for persistence operations
Properties
CheckpointManager
public ICheckpointManager<T, TInput, TOutput>? CheckpointManager { get; init; }
Property Value
- ICheckpointManager<T, TInput, TOutput>
CheckpointPath
public string? CheckpointPath { get; init; }
Property Value
RegisteredName
public string? RegisteredName { get; init; }
Property Value
Registry
public IModelRegistry<T, TInput, TOutput>? Registry { get; init; }
Property Value
- IModelRegistry<T, TInput, TOutput>
Version
public int? Version { get; init; }
Property Value
- int?