Share via


MPSGraph_MPSGraphPoolingOps.MaxPooling2DGradient Method

Definition

Overloads

MaxPooling2DGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphPooling2DOpDescriptor, String)

[Foundation.Export("maxPooling2DGradientWithGradientTensor:sourceTensor:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor MaxPooling2DGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor descriptor, string? name);
[<Foundation.Export("maxPooling2DGradientWithGradientTensor:sourceTensor:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member MaxPooling2DGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
gradient
MPSGraphTensor
name
String

Returns

Attributes

Applies to

MaxPooling2DGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphPooling2DOpDescriptor, String)

[Foundation.Export("maxPooling2DGradientWithGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor MaxPooling2DGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor indices, MetalPerformanceShadersGraph.MPSGraphTensor outputShape, MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor descriptor, string? name);
[<Foundation.Export("maxPooling2DGradientWithGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member MaxPooling2DGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
gradient
MPSGraphTensor
indices
MPSGraphTensor
outputShape
MPSGraphTensor
name
String

Returns

Attributes

Applies to

MaxPooling2DGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, Int32[], MPSGraphPooling2DOpDescriptor, String)

[Foundation.Export("maxPooling2DGradientWithGradientTensor:indicesTensor:outputShape:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor MaxPooling2DGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor indices, int[] outputShape, MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor descriptor, string? name);
[<Foundation.Export("maxPooling2DGradientWithGradientTensor:indicesTensor:outputShape:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member MaxPooling2DGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
gradient
MPSGraphTensor
indices
MPSGraphTensor
outputShape
Int32[]
name
String

Returns

Attributes

Applies to