Mojo struct
Image2DLayout
@register_passable(trivial)
struct Image2DLayout
Fields
- value (
Int
):
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Aliases
FRSCf
alias FRSCf = Image2DLayout(3)
NCHW
alias NCHW = Image2DLayout(1)
NHWC
alias NHWC = Image2DLayout(0)
RSCF
alias RSCF = Image2DLayout(2)
UNKNOWN
alias UNKNOWN = Image2DLayout(-1)
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!