Pool2DInfo
public struct Pool2DInfo
Mirror struct of Pool2DInfo
in pooling_op.metal
-
Undocumented
Declaration
Swift
var channelPosition: MetalShort
-
Undocumented
Declaration
Swift
var kernelSizeHeight: MetalUShort
-
Undocumented
Declaration
Swift
var kernelSizeWidth: MetalUShort
-
Undocumented
Declaration
Swift
var strideHeight: MetalUShort
-
Undocumented
Declaration
Swift
var strideWidth: MetalUShort
-
Undocumented
Declaration
Swift
var inHeight: MetalUInt
-
Undocumented
Declaration
Swift
var inWidth: MetalUInt
-
Undocumented
Declaration
Swift
var inChannel: MetalUInt
-
Undocumented
Declaration
Swift
var outHeight: MetalUInt
-
Undocumented
Declaration
Swift
var outWidth: MetalUInt
-
Undocumented
Declaration
Swift
var outChannel: MetalUInt
-
Generate
Pool2DInfo
from aPooling2DOperator
‘s information.Declaration
Swift
static func makePool2DInfo(op: Pooling2DOperator, inputSize: [Int], outputSize: [Int]) -> Pool2DInfo
Parameters
op
operator
inputSize
input size
outputSize
output size
Return Value
Pool2DInfo