Skip to content

LLamaState

Namespace: LLama

1
public class LLamaState : System.IEquatable`1[[LLama.LLamaState, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectLLamaState
Implements IEquatable<LLamaState>

Properties

EvalTokens

1
public Queue<int> EvalTokens { get; set; }

Property Value

Queue<Int32>

EvalLogits

1
public Queue<Single[]> EvalLogits { get; set; }

Property Value

Queue<Single[]>

State

1
public Byte[] State { get; set; }

Property Value

Byte[]

Size

1
public int Size { get; set; }

Property Value

Int32

Constructors

LLamaState(Queue<Int32>, Queue<Single[]>, Byte[], Int32)

1
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()

1
public string ToString()

Returns

String

PrintMembers(StringBuilder)

1
protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

1
public int GetHashCode()

Returns

Int32

Equals(Object)

1
public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(LLamaState)

1
public bool Equals(LLamaState other)

Parameters

other LLamaState

Returns

Boolean

<Clone>$()

1
public LLamaState <Clone>$()

Returns

LLamaState

Deconstruct(Queue1&, Queue1&, Byte[]&, Int32&)

1
public void Deconstruct(Queue`1& EvalTokens, Queue`1& EvalLogits, Byte[]& State, Int32& Size)

Parameters

EvalTokens Queue`1&

EvalLogits Queue`1&

State Byte[]&

Size Int32&