Structure
Pooling
public struct Pooling: BaseLayer
Relationships
Conforms To
BaseLayer
Initializers
init(name:input:output:poolingType:kernelSize:stride:paddingType:avgPoolExcludePadding:globalPooling:)
public init(name: String, input: [String], output: [String], poolingType: PoolingType, kernelSize: [UInt], stride: [UInt], paddingType: PoolingPaddingType, avgPoolExcludePadding: Bool, globalPooling: Bool)
Properties
type
let type
name
let name: String
input
let input: [String]
output
let output: [String]
poolingType
let poolingType: PoolingType
kernelSize
let kernelSize: [UInt]
stride
let stride: [UInt]
paddingType
let paddingType: PoolingPaddingType
avgPoolExcludePadding
let avgPoolExcludePadding: Bool
globalPooling
let globalPooling: Bool