Contents

init(dataLayout:weightsLayout:)

Creates a 2D-depthwise convolution descriptor with given properties and default values.

Declaration

convenience init?(dataLayout: MPSGraphTensorNamedDataLayout, weightsLayout: MPSGraphTensorNamedDataLayout)

Parameters

  • dataLayout:

    See dataLayout property.

  • weightsLayout:

    See weightsLayout property.

Return Value

The descriptor on autoreleasepool.