TensorChannelOrder
public enum TensorChannelOrder: Int
The channel order in a N-D tensor.
First
Coming before tensor shape.
For example an image with height H
and width W
, it will be represented as [C, H, W]
Last
Coming after tensor shape.
For example an image with height H
and width W
, it will be represented as [C, H, W]
-
Undocumented
Declaration
Swift
case First = 0
-
Undocumented
Declaration
Swift
case Last = 1
-
Undocumented
Declaration
Swift
var description: String
-
Undocumented
Declaration
Swift
var MPSImageOrder: MPSDataLayout