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): The templateIntTupledefining 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?
Thank you! We'll create more content like this.
Thank you for helping us improve!