Img2ColInfo
public struct Img2ColInfo
Corresponding struct Img2ColInfo
in img2col_op.metal
-
0 –> First, 1 –> Last
Declaration
Swift
var channelPosition: MetalShort
-
0 –> Valid, 1 –> Same
Declaration
Swift
var paddingMode: MetalShort
-
padding value
Declaration
Swift
var paddingValue: MetalFloat
-
number of channels
Declaration
Swift
var channels: MetalInt
-
input width
Declaration
Swift
var inputWidth: MetalInt
-
input height
Declaration
Swift
var inputHeight: MetalInt
-
kernel scanning patch count in X direction
Declaration
Swift
var kernelScanningXPatchCount: MetalInt
-
stride width
Declaration
Swift
var strideWidth: MetalInt
-
stride height
Declaration
Swift
var strideHeight: MetalInt
-
patch width
Declaration
Swift
var patchWdith: MetalInt
-
patch height
Declaration
Swift
var patchHeight: MetalInt