ValidationResult

Models & Types · AiDotNet.ModelLoading

Result of weights file validation.

Constructors

Constructor Summary
ValidationResult()

Properties

Property Summary
List<string> FoundPatterns { get; set; } Patterns that were found.
List<string> MatchedTensors { get; set; } Tensor names that matched the patterns.
List<string> MissingPatterns { get; set; } Patterns that were not found.
bool IsValid { get; set; } Whether the validation passed.
int TotalTensors { get; set; } Total number of tensors in the file.
long TotalSizeBytes { get; set; } Total size of all tensors in bytes.
string ErrorMessage { get; set; } Error message if validation failed.
string Path { get; set; } Path to the validated file.

Methods

Method Summary
string ToString() Gets a summary of the validation result.