LLamaState
Namespace: LLama
public class LLamaState : System.IEquatable`1[[LLama.LLamaState, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → LLamaState
Implements IEquatable<LLamaState>
Properties
EvalTokens
public Queue<int> EvalTokens { get; set; }
Property Value
EvalLogits
public Queue<Single[]> EvalLogits { get; set; }
Property Value
State
public Byte[] State { get; set; }
Property Value
Size
public int Size { get; set; }
Property Value
Constructors
LLamaState(Queue<Int32>, Queue<Single[]>, Byte[], Int32)
public LLamaState(Queue<int> EvalTokens, Queue<Single[]> EvalLogits, Byte[] State, int Size)
Parameters
EvalTokens Queue<Int32>
EvalLogits Queue<Single[]>
State Byte[]
Size Int32
Methods
ToString()
public string ToString()
Returns
PrintMembers(StringBuilder)
protected bool PrintMembers(StringBuilder builder)
Parameters
builder StringBuilder
Returns
GetHashCode()
public int GetHashCode()
Returns
Equals(Object)
public bool Equals(object obj)
Parameters
obj Object
Returns
Equals(LLamaState)
public bool Equals(LLamaState other)
Parameters
other LLamaState
Returns
<Clone>$()
public LLamaState <Clone>$()
Returns
Deconstruct(Queue1&, Queue1&, Byte[]&, Int32&)
public void Deconstruct(Queue`1& EvalTokens, Queue`1& EvalLogits, Byte[]& State, Int32& Size)
Parameters
EvalTokens Queue`1&
EvalLogits Queue`1&
State Byte[]&
Size Int32&