dilationStride
TypeScriptget dilationStride(): { "x": number; "y": number }Swift declarationvar dilationStride: (x: Int, y: Int)The increment in the input image while convolving with the kernel.
struct · iOS 15.0+ · SDK 27.1
struct FusedConvolutionParametersA structure that contains the parameters for a fused convolution layer.
get dilationStride(): { "x": number; "y": number }Swift declarationvar dilationStride: (x: Int, y: Int)The increment in the input image while convolving with the kernel.
set dilationStride(value: { "x": number; "y": number })Swift declarationvar dilationStride: (x: Int, y: Int)The increment in the input image while convolving with the kernel.
get bias(): (BNNSNDArrayDescriptor) | nullSwift declarationvar bias: BNNSNDArrayDescriptor?The bias descriptor.
set bias(value: (BNNSNDArrayDescriptor) | null)Swift declarationvar bias: BNNSNDArrayDescriptor?The bias descriptor.
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_FusedConvolutionParametersSwift declarationinit(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 type(): BNNS_ConvolutionTypeSwift declarationvar type: BNNS.ConvolutionTypeThe convolution type.
set type(value: BNNS_ConvolutionType)Swift declarationvar type: BNNS.ConvolutionTypeThe convolution type.
get stride(): { "x": number; "y": number }Swift declarationvar stride: (x: Int, y: Int)Increment in the input image.
set stride(value: { "x": number; "y": number })Swift declarationvar stride: (x: Int, y: Int)Increment in the input image.
get padding(): BNNS_ConvolutionPaddingSwift declarationvar padding: BNNS.ConvolutionPaddingThe number of zeros virtually added to the edges of the input.
set padding(value: BNNS_ConvolutionPadding)Swift declarationvar padding: BNNS.ConvolutionPaddingThe number of zeros virtually added to the edges of the input.
get weights(): BNNSNDArrayDescriptorSwift declarationvar weights: BNNSNDArrayDescriptorThe weights descriptor.
set weights(value: BNNSNDArrayDescriptor)Swift declarationvar weights: BNNSNDArrayDescriptorThe weights descriptor.
get groupSize(): numberSwift declarationvar groupSize: IntThe convolution group size
set groupSize(value: number)Swift declarationvar groupSize: IntThe convolution group size
No declarations were skipped in this snapshot.