Class ValidationResult
- Namespace
- AiDotNet.ModelLoading
- Assembly
- AiDotNet.dll
Result of weights file validation.
public class ValidationResult
- Inheritance
-
ValidationResult
- Inherited Members
Properties
ErrorMessage
Error message if validation failed.
public string? ErrorMessage { get; set; }
Property Value
FoundPatterns
Patterns that were found.
public List<string> FoundPatterns { get; set; }
Property Value
IsValid
Whether the validation passed.
public bool IsValid { get; set; }
Property Value
MatchedTensors
Tensor names that matched the patterns.
public List<string> MatchedTensors { get; set; }
Property Value
MissingPatterns
Patterns that were not found.
public List<string> MissingPatterns { get; set; }
Property Value
Path
Path to the validated file.
public string Path { get; set; }
Property Value
TotalSizeBytes
Total size of all tensors in bytes.
public long TotalSizeBytes { get; set; }
Property Value
TotalTensors
Total number of tensors in the file.
public int TotalTensors { get; set; }
Property Value
Methods
ToString()
Gets a summary of the validation result.
public override string ToString()