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).
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.