LLamaSharp/docs/xmldocs/llama.exceptions.loadweight...

2.3 KiB

LoadWeightsFailedException

Namespace: LLama.Exceptions

Loading model weights failed

public class LoadWeightsFailedException : RuntimeError, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionRuntimeErrorLoadWeightsFailedException
Implements ISerializable

Properties

ModelPath

The model path which failed to load

public string ModelPath { get; }

Property Value

String

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

LoadWeightsFailedException(String)

public LoadWeightsFailedException(string modelPath)

Parameters

modelPath String