Skip to main content
Log in

Mojo function

to_unknown

to_unknown(t: IntTuple[origin]) -> 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[origin]): The template IntTuple defining the structure.

Returns:

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