Table of Contents

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

bool

IsValid

Whether validation passed (all matched weights have correct shapes).

public bool IsValid { get; }

Property Value

bool

Matched

Parameter names in the model that matched weights.

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

Property Value

List<string>

MissingParameters

Model parameters that have no corresponding weight.

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

Property Value

List<string>

ShapeMismatches

Weights where shape doesn't match the model parameter.

public List<(string Name, int[] Expected, int[] Actual)> ShapeMismatches { get; set; }

Property Value

List<(string Name, int[] Expected, int[] Actual)>

UnmatchedWeights

Weight names that could not be mapped to any model parameter.

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

Property Value

List<string>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.