Class WeightLoadValidation
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Result of weight validation.
public class WeightLoadValidation
- Inheritance
-
WeightLoadValidation
- Inherited Members
Properties
IsComplete
Whether all model parameters have matching weights.
public bool IsComplete { get; }
Property Value
IsValid
Whether validation passed (all matched weights have correct shapes).
public bool IsValid { get; }
Property Value
Matched
Parameter names in the model that matched weights.
public List<string> Matched { get; set; }
Property Value
MissingParameters
Model parameters that have no corresponding weight.
public List<string> MissingParameters { get; set; }
Property Value
ShapeMismatches
Weights where shape doesn't match the model parameter.
public List<(string Name, int[] Expected, int[] Actual)> ShapeMismatches { get; set; }
Property Value
UnmatchedWeights
Weight names that could not be mapped to any model parameter.
public List<string> UnmatchedWeights { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.