One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSNNDefaultPadding

class · iOS 11.0+ · SDK 27.1

class MPSNNDefaultPadding

Members (4)

static · iOS 11.3+

forTensorflowAveragePooling

TypeScript
static forTensorflowAveragePooling(): MPSNNDefaultPadding
Swift declaration
class func forTensorflowAveragePooling() -> Self
static · iOS 11.3+

forTensorflowAveragePoolingValidOnly

TypeScript
static forTensorflowAveragePoolingValidOnly(): MPSNNDefaultPadding
Swift declaration
class func forTensorflowAveragePoolingValidOnly() -> Self
init · iOS 11.0+

init

TypeScript
static init(method: MPSNNPaddingMethod): MPSNNDefaultPadding
Swift declaration
convenience init(method: MPSNNPaddingMethod)
method · iOS 11.0+

label

TypeScript
label(): string
Swift declaration
func label() -> String

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSNNDefaultPadding.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →