Share via


MPSGraph_MPSGraphPoolingOps.AvgPooling2D Method

Definition

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

Parameters

This
MPSGraph
name
String

Returns

Attributes

Applies to