Skip to main content

Mojo struct

Image2DLayout

struct Image2DLayout

Fields​

  • ​value (Int):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

comptime members​

FRSCf​

comptime FRSCf = Image2DLayout(3)

NCHW​

comptime NCHW = Image2DLayout(1)

NHWC​

comptime NHWC = Image2DLayout(0)

RSCF​

comptime RSCF = Image2DLayout(2)

UNKNOWN​

comptime UNKNOWN = Image2DLayout(-1)

Methods​

__eq__​

__eq__(self, rhs: Self) -> Bool

Returns:

Bool

__ne__​

__ne__(self, rhs: Self) -> Bool

Returns:

Bool