Table of Contents

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

string

FoundPatterns

Patterns that were found.

public List<string> FoundPatterns { get; set; }

Property Value

List<string>

IsValid

Whether the validation passed.

public bool IsValid { get; set; }

Property Value

bool

MatchedTensors

Tensor names that matched the patterns.

public List<string> MatchedTensors { get; set; }

Property Value

List<string>

MissingPatterns

Patterns that were not found.

public List<string> MissingPatterns { get; set; }

Property Value

List<string>

Path

Path to the validated file.

public string Path { get; set; }

Property Value

string

TotalSizeBytes

Total size of all tensors in bytes.

public long TotalSizeBytes { get; set; }

Property Value

long

TotalTensors

Total number of tensors in the file.

public int TotalTensors { get; set; }

Property Value

int

Methods

ToString()

Gets a summary of the validation result.

public override string ToString()

Returns

string