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

to_unknown

to_unknown(t: IntTuple) -> IntTuple

Create an IntTuple with the same structure but filled with UNKNOWN_VALUE.

This function preserves the hierarchical structure of the input IntTuple but replaces all integer values with UNKNOWN_VALUE.

Args:

  • t (IntTuple): The template IntTuple defining the structure.

Returns:

IntTuple: A new IntTuple with the same structure as t but with all values replaced by UNKNOWN_VALUE.