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
Image2DLayout
struct Image2DLayout
Fieldsβ
- βvalue (
Int):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
FRSCfβ
comptime FRSCf = Image2DLayout(Int(3))
NCHWβ
comptime NCHW = Image2DLayout(Int(1))
NHWCβ
comptime NHWC = Image2DLayout(Int(0))
RSCFβ
comptime RSCF = Image2DLayout(Int(2))
UNKNOWNβ
comptime UNKNOWN = Image2DLayout(Int(-1))
Methodsβ
__eq__β
__ne__β
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!