Class LoadResult
- Namespace
- AiDotNet.ModelLoading
- Assembly
- AiDotNet.dll
Result of a model weight loading operation.
public class LoadResult
- Inheritance
-
LoadResult
- Inherited Members
Properties
ErrorMessage
Error message if loading failed.
public string? ErrorMessage { get; set; }
Property Value
MappedNames
List of mapped tensor name pairs (source, target).
public List<(string Source, string Target)> MappedNames { get; set; }
Property Value
MappedTensors
Number of tensors successfully mapped.
public int MappedTensors { get; set; }
Property Value
Success
Whether the loading was successful.
public bool Success { get; set; }
Property Value
TotalTensors
Total number of tensors in the file.
public int TotalTensors { get; set; }
Property Value
UnmappedNames
List of unmapped tensor names.
public List<string> UnmappedNames { get; set; }
Property Value
UnmappedTensors
Number of tensors that couldn't be mapped.
public int UnmappedTensors { get; set; }
Property Value
WeightsApplied
Whether weights were actually applied to the model. Currently always false as VAE models don't yet support SetParameterByName.
public bool WeightsApplied { get; set; }
Property Value
Methods
ToString()
Gets a summary of the load result.
public override string ToString()