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 function

to_unknown

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

Was this page helpful?