LoadResult

Models & Types · AiDotNet.ModelLoading

Result of a model weight loading operation.

Constructors

Constructor Summary
LoadResult()

Properties

Property Summary
List<ValueTuple<string, string>> MappedNames { get; set; } List of mapped tensor name pairs (source, target).
List<string> UnmappedNames { get; set; } List of unmapped tensor names.
bool Success { get; set; } Whether the loading was successful.
bool WeightsApplied { get; set; } Whether weights were actually applied to the model.
int MappedTensors { get; set; } Number of tensors successfully mapped.
int TotalTensors { get; set; } Total number of tensors in the file.
int UnmappedTensors { get; set; } Number of tensors that couldn’t be mapped.
string ErrorMessage { get; set; } Error message if loading failed.

Methods

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