For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python function
build_max_lengths_tensors
build_max_lengths_tensors()โ
max.nn.build_max_lengths_tensors(max_prompt_length, max_cache_length)
Builds two [1] uint32 scalar buffers of maximum lengths.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!