|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- # LLamaState
-
- Namespace: LLama
-
- ```csharp
- public class LLamaState : System.IEquatable`1[[LLama.LLamaState, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
- ```
-
- Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [LLamaState](./llama.llamastate.md)<br>
- Implements [IEquatable<LLamaState>](https://docs.microsoft.com/en-us/dotnet/api/system.iequatable-1)
-
- ## Properties
-
- ### **EvalTokens**
-
- ```csharp
- public Queue<int> EvalTokens { get; set; }
- ```
-
- #### Property Value
-
- [Queue<Int32>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1)<br>
-
- ### **EvalLogits**
-
- ```csharp
- public Queue<Single[]> EvalLogits { get; set; }
- ```
-
- #### Property Value
-
- [Queue<Single[]>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1)<br>
-
- ### **State**
-
- ```csharp
- public Byte[] State { get; set; }
- ```
-
- #### Property Value
-
- [Byte[]](https://docs.microsoft.com/en-us/dotnet/api/system.byte)<br>
-
- ### **Size**
-
- ```csharp
- public int Size { get; set; }
- ```
-
- #### Property Value
-
- [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
-
- ## Constructors
-
- ### **LLamaState(Queue<Int32>, Queue<Single[]>, Byte[], Int32)**
-
- ```csharp
- public LLamaState(Queue<int> EvalTokens, Queue<Single[]> EvalLogits, Byte[] State, int Size)
- ```
-
- #### Parameters
-
- `EvalTokens` [Queue<Int32>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1)<br>
-
- `EvalLogits` [Queue<Single[]>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1)<br>
-
- `State` [Byte[]](https://docs.microsoft.com/en-us/dotnet/api/system.byte)<br>
-
- `Size` [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
-
- ## Methods
-
- ### **ToString()**
-
- ```csharp
- public string ToString()
- ```
-
- #### Returns
-
- [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
-
- ### **PrintMembers(StringBuilder)**
-
- ```csharp
- protected bool PrintMembers(StringBuilder builder)
- ```
-
- #### Parameters
-
- `builder` [StringBuilder](https://docs.microsoft.com/en-us/dotnet/api/system.text.stringbuilder)<br>
-
- #### Returns
-
- [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
-
- ### **GetHashCode()**
-
- ```csharp
- public int GetHashCode()
- ```
-
- #### Returns
-
- [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
-
- ### **Equals(Object)**
-
- ```csharp
- public bool Equals(object obj)
- ```
-
- #### Parameters
-
- `obj` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)<br>
-
- #### Returns
-
- [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
-
- ### **Equals(LLamaState)**
-
- ```csharp
- public bool Equals(LLamaState other)
- ```
-
- #### Parameters
-
- `other` [LLamaState](./llama.llamastate.md)<br>
-
- #### Returns
-
- [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
-
- ### **<Clone>$()**
-
- ```csharp
- public LLamaState <Clone>$()
- ```
-
- #### Returns
-
- [LLamaState](./llama.llamastate.md)<br>
-
- ### **Deconstruct(Queue`1&, Queue`1&, Byte[]&, Int32&)**
-
- ```csharp
- public void Deconstruct(Queue`1& EvalTokens, Queue`1& EvalLogits, Byte[]& State, Int32& Size)
- ```
-
- #### Parameters
-
- `EvalTokens` [Queue`1&](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1&)<br>
-
- `EvalLogits` [Queue`1&](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1&)<br>
-
- `State` [Byte[]&](https://docs.microsoft.com/en-us/dotnet/api/system.byte&)<br>
-
- `Size` [Int32&](https://docs.microsoft.com/en-us/dotnet/api/system.int32&)<br>
|