|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- # LoadWeightsFailedException
-
- Namespace: LLama.Exceptions
-
- Loading model weights failed
-
- ```csharp
- public class LoadWeightsFailedException : RuntimeError, System.Runtime.Serialization.ISerializable
- ```
-
- Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [Exception](https://docs.microsoft.com/en-us/dotnet/api/system.exception) → [RuntimeError](./llama.exceptions.runtimeerror.md) → [LoadWeightsFailedException](./llama.exceptions.loadweightsfailedexception.md)<br>
- Implements [ISerializable](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.iserializable)
-
- ## Properties
-
- ### **ModelPath**
-
- The model path which failed to load
-
- ```csharp
- public string ModelPath { get; }
- ```
-
- #### Property Value
-
- [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
-
- ### **TargetSite**
-
- ```csharp
- public MethodBase TargetSite { get; }
- ```
-
- #### Property Value
-
- [MethodBase](https://docs.microsoft.com/en-us/dotnet/api/system.reflection.methodbase)<br>
-
- ### **Message**
-
- ```csharp
- public string Message { get; }
- ```
-
- #### Property Value
-
- [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
-
- ### **Data**
-
- ```csharp
- public IDictionary Data { get; }
- ```
-
- #### Property Value
-
- [IDictionary](https://docs.microsoft.com/en-us/dotnet/api/system.collections.idictionary)<br>
-
- ### **InnerException**
-
- ```csharp
- public Exception InnerException { get; }
- ```
-
- #### Property Value
-
- [Exception](https://docs.microsoft.com/en-us/dotnet/api/system.exception)<br>
-
- ### **HelpLink**
-
- ```csharp
- public string HelpLink { get; set; }
- ```
-
- #### Property Value
-
- [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
-
- ### **Source**
-
- ```csharp
- public string Source { get; set; }
- ```
-
- #### Property Value
-
- [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
-
- ### **HResult**
-
- ```csharp
- public int HResult { get; set; }
- ```
-
- #### Property Value
-
- [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
-
- ### **StackTrace**
-
- ```csharp
- public string StackTrace { get; }
- ```
-
- #### Property Value
-
- [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
-
- ## Constructors
-
- ### **LoadWeightsFailedException(String)**
-
- ```csharp
- public LoadWeightsFailedException(string modelPath)
- ```
-
- #### Parameters
-
- `modelPath` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
|