struct

Llama::RunState

Inherits Struct < Value < Object

Constructors

new(config : TransformerConfig)
Source

Instance methods

att=(att : Array(Float32))
Source
hb2=(hb2 : Array(Float32))
Source
hb=(hb : Array(Float32))
Source
k=(k : ArrayView(Float32))
Source
key_cache
Source
key_cache=(key_cache : Array(Float32))
Source
logits
Source
logits=(logits : Array(Float32))
Source
v=(v : ArrayView(Float32))
Source
value_cache
Source
value_cache=(value_cache : Array(Float32))
Source
xb2=(xb2 : Array(Float32))
Source
xb=(xb : Array(Float32))
Source