Share via


MPSGraphDepthwiseConvolution2DOpDescriptor.Create Method

Definition

Overloads

Create(MPSGraphTensorNamedDataLayout, MPSGraphTensorNamedDataLayout)

[Foundation.Export("descriptorWithDataLayout:weightsLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphDepthwiseConvolution2DOpDescriptor? Create(MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout dataLayout, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout weightsLayout);
[<Foundation.Export("descriptorWithDataLayout:weightsLayout:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout -> MetalPerformanceShadersGraph.MPSGraphDepthwiseConvolution2DOpDescriptor

Parameters

Returns

Attributes

Applies to

Create(UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, MPSGraphPaddingStyle, MPSGraphTensorNamedDataLayout, MPSGraphTensorNamedDataLayout)

[Foundation.Export("descriptorWithStrideInX:strideInY:dilationRateInX:dilationRateInY:paddingLeft:paddingRight:paddingTop:paddingBottom:paddingStyle:dataLayout:weightsLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphDepthwiseConvolution2DOpDescriptor? Create(UIntPtr strideInX, UIntPtr strideInY, UIntPtr dilationRateInX, UIntPtr dilationRateInY, UIntPtr paddingLeft, UIntPtr paddingRight, UIntPtr paddingTop, UIntPtr paddingBottom, MetalPerformanceShadersGraph.MPSGraphPaddingStyle paddingStyle, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout dataLayout, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout weightsLayout);
[<Foundation.Export("descriptorWithStrideInX:strideInY:dilationRateInX:dilationRateInY:paddingLeft:paddingRight:paddingTop:paddingBottom:paddingStyle:dataLayout:weightsLayout:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unativeint * unativeint * unativeint * unativeint * unativeint * unativeint * unativeint * unativeint * MetalPerformanceShadersGraph.MPSGraphPaddingStyle * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout -> MetalPerformanceShadersGraph.MPSGraphDepthwiseConvolution2DOpDescriptor

Parameters

strideInX
UIntPtr

unativeint

strideInY
UIntPtr

unativeint

dilationRateInX
UIntPtr

unativeint

dilationRateInY
UIntPtr

unativeint

paddingLeft
UIntPtr

unativeint

paddingRight
UIntPtr

unativeint

paddingTop
UIntPtr

unativeint

paddingBottom
UIntPtr

unativeint

paddingStyle
MPSGraphPaddingStyle

Returns

Attributes

Applies to