Mojo struct
Image2DLayout
@register_passable(trivial)
struct Image2DLayout
Aliases
UNKNOWN = Image2DLayout(-1)
:NHWC = Image2DLayout(0)
:NCHW = Image2DLayout(1)
:RSCF = Image2DLayout(2)
:FRSCf = Image2DLayout(3)
:
Fields
- value (
Int
):
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Methods
__eq__
__eq__(self, rhs: Self) -> Bool
__ne__
__ne__(self, rhs: Self) -> Bool
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!