For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
IO
struct IO
Fieldsβ
- βvalue (
SIMDSize):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
FusedInputβ
comptime FusedInput = IO(2)
FusedOutputβ
comptime FusedOutput = IO(3)
Inputβ
comptime Input = IO(1)
Outputβ
comptime Output = IO(0)
Unknownβ
comptime Unknown = IO(-1)
Methodsβ
__init__β
def __init__(value: Int) -> Self
__eq__β
__ne__β
is_fusedβ
def is_fused(self) -> Bool
True when this IO represents any fused variant (input, output, or compute-output).
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!