IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo struct

SplitView

struct SplitView

One row range of a split batch and its max lengths.

Fields​

  • ​first_row (Int):
  • ​rows (Int):
  • ​first_token (Int):
  • ​tokens (Int):
  • ​max_q_len (Int):
  • ​max_cache_len (Int):
  • ​lengths_slot (Int):

Implemented traits​

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable

Methods​

is_decode​

def is_decode(self) -> Bool

Returns:

Bool

Was this page helpful?