SwiftCoreMLTools Documentation Beta

Enumeration Pooling​Padding​Type

public enum PoolingPaddingType
%3 PoolingPaddingType PoolingPaddingType Codable Codable PoolingPaddingType->Codable

Conforms To

Codable

Enumeration Cases

valid

case valid(borderAmounts: [EdgeSizes])

same

case same(mode: PaddingMode)

include​Last​Pixel

case includeLastPixel(paddingAmounts: [UInt])

Initializers

init(from:​)

public init(from decoder: Decoder) throws

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws