Mojo struct
IOSpec
struct IOSpec[mut: Bool, input: IO]
Parameter used to encode whether a particular tensor argument to a DPS kernel is an output, input, or mutable input.
Input == IOSpec[False, IO.Input]()
Output == IOSpec[True, IO.Output]()
MutableInput == IOSpec[True, IO.Input]()
FusedInput == IOSpec[False, IO.FusedInput]()
FusedOutput == IOSpec[True, IO.FusedOutput]()Implemented traits
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!