One Logo Pool Ball
Accelerate · IOS API REFERENCE

BNNS.FusedConvolutionParameters

struct · iOS 15.0+ · SDK 27.1

struct FusedConvolutionParameters

A structure that contains the parameters for a fused convolution layer.

Members (15)

get · iOS 15.0+

dilationStride

TypeScript
get dilationStride(): { "x": number; "y": number }
Swift declaration
var dilationStride: (x: Int, y: Int)

The increment in the input image while convolving with the kernel.

set · iOS 15.0+

dilationStride

TypeScript
set dilationStride(value: { "x": number; "y": number })
Swift declaration
var dilationStride: (x: Int, y: Int)

The increment in the input image while convolving with the kernel.

get · iOS 15.0+

bias

TypeScript
get bias(): (BNNSNDArrayDescriptor) | null
Swift declaration
var bias: BNNSNDArrayDescriptor?

The bias descriptor.

set · iOS 15.0+

bias

TypeScript
set bias(value: (BNNSNDArrayDescriptor) | null)
Swift declaration
var bias: BNNSNDArrayDescriptor?

The bias descriptor.

init · iOS 15.0+

init

TypeScript
static init(type: BNNS_ConvolutionType, weights: BNNSNDArrayDescriptor, bias: (BNNSNDArrayDescriptor) | null, stride: { "x": number; "y": number }, dilationStride: { "x": number; "y": number }, groupSize: number, padding: BNNS_ConvolutionPadding): BNNS_FusedConvolutionParameters
Swift declaration
init(type: BNNS.ConvolutionType, weights: BNNSNDArrayDescriptor, bias: BNNSNDArrayDescriptor?, stride: (x: Int, y: Int), dilationStride: (x: Int, y: Int), groupSize: Int, padding: BNNS.ConvolutionPadding)

Returns a new fused convolution parameters structure. - Parameter convolutionType: The convolution type. - Parameter weights: The weights descriptor. - Parameter bias: The bias descriptor. - Parameter stride: Increment in the input image. - Parameter dilationStride: Increment in the input image while convolving with the kernel. - Parameter groupSize: Convolution group size. - Parameter padding: The number of zeros virtually added to the edges of the input.

get · iOS 15.0+

type

TypeScript
get type(): BNNS_ConvolutionType
Swift declaration
var type: BNNS.ConvolutionType

The convolution type.

set · iOS 15.0+

type

TypeScript
set type(value: BNNS_ConvolutionType)
Swift declaration
var type: BNNS.ConvolutionType

The convolution type.

get · iOS 15.0+

stride

TypeScript
get stride(): { "x": number; "y": number }
Swift declaration
var stride: (x: Int, y: Int)

Increment in the input image.

set · iOS 15.0+

stride

TypeScript
set stride(value: { "x": number; "y": number })
Swift declaration
var stride: (x: Int, y: Int)

Increment in the input image.

get · iOS 15.0+

padding

TypeScript
get padding(): BNNS_ConvolutionPadding
Swift declaration
var padding: BNNS.ConvolutionPadding

The number of zeros virtually added to the edges of the input.

set · iOS 15.0+

padding

TypeScript
set padding(value: BNNS_ConvolutionPadding)
Swift declaration
var padding: BNNS.ConvolutionPadding

The number of zeros virtually added to the edges of the input.

get · iOS 15.0+

weights

TypeScript
get weights(): BNNSNDArrayDescriptor
Swift declaration
var weights: BNNSNDArrayDescriptor

The weights descriptor.

set · iOS 15.0+

weights

TypeScript
set weights(value: BNNSNDArrayDescriptor)
Swift declaration
var weights: BNNSNDArrayDescriptor

The weights descriptor.

get · iOS 15.0+

groupSize

TypeScript
get groupSize(): number
Swift declaration
var groupSize: Int

The convolution group size

set · iOS 15.0+

groupSize

TypeScript
set groupSize(value: number)
Swift declaration
var groupSize: Int

The convolution group size

Skipped declarations

No declarations were skipped in this snapshot.

All Accelerate types →