struct Llama::Transformer
- Llama::Transformer
- Struct
- Value
- Object
Defined in:
llama/transformer.crConstructors
Instance Method Summary
- #forward(token : Int32, pos : Int32) : Array(Float32)
- #model : TransformerFile
- #model=(model : TransformerFile)
- #state : RunState
- #state=(state : RunState)