LlamaContext.fromModel

Create from a window size and batch size.

  1. LlamaContext fromModel(LlamaModel model, llama_context_params params)
  2. LlamaContext fromModel(LlamaModel model, uint nCtx, uint nBatch)
    struct LlamaContext
    static @nogc nothrow
    fromModel
    (,
    uint nCtx
    ,
    uint nBatch = 512
    )

Meta