batchGetOne

Wraps a token slice into a batch. The slice must outlive the returned batch.

  1. llama_batch batchGetOne(const(llama_token)[] tokens)
    @trusted @nogc nothrow
    llama_batch
    batchGetOne
    (
    scope const(llama_token)[] tokens
    )
  2. llama_batch batchGetOne(llama_token* tokens, int nTokens)

Meta