Evaluates the model for a single token. Throws an exception in case of any error. Error messages would be printed to stderr. Not thread-safe. For parallel inference, call rwkv_clone_context to create one rwkv_context for each thread. Parameters ----------
(
self,
ctx: RWKVContext,
token: int,
state_in_address: Optional[int],
state_out_address: int,
logits_out_address: int
)
source not stored for this graph (policy: none)