MPSGraph_MPSGraphScatterOps.Scatter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Scatter(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, IntPtr, MPSGraphScatterMode, String)
[Foundation.Export("scatterWithDataTensor:updatesTensor:indicesTensor:axis:mode:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Scatter(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor dataTensor, MetalPerformanceShadersGraph.MPSGraphTensor updatesTensor, MetalPerformanceShadersGraph.MPSGraphTensor indicesTensor, IntPtr axis, MetalPerformanceShadersGraph.MPSGraphScatterMode mode, string? name);
[<Foundation.Export("scatterWithDataTensor:updatesTensor:indicesTensor:axis:mode:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Scatter : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * nativeint * MetalPerformanceShadersGraph.MPSGraphScatterMode * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- dataTensor
- MPSGraphTensor
- updatesTensor
- MPSGraphTensor
- indicesTensor
- MPSGraphTensor
- axis
-
IntPtr
nativeint
- mode
- MPSGraphScatterMode
- name
- String
Returns
- Attributes
Applies to
Scatter(MPSGraph, MPSGraphTensor, MPSGraphTensor, Int32[], IntPtr, MPSGraphScatterMode, String)
[Foundation.Export("scatterWithUpdatesTensor:indicesTensor:shape:axis:mode:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Scatter(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor updatesTensor, MetalPerformanceShadersGraph.MPSGraphTensor indicesTensor, int[] shape, IntPtr axis, MetalPerformanceShadersGraph.MPSGraphScatterMode mode, string? name);
[<Foundation.Export("scatterWithUpdatesTensor:indicesTensor:shape:axis:mode:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Scatter : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * nativeint * MetalPerformanceShadersGraph.MPSGraphScatterMode * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- updatesTensor
- MPSGraphTensor
- indicesTensor
- MPSGraphTensor
- shape
- Int32[]
- axis
-
IntPtr
nativeint
- mode
- MPSGraphScatterMode
- name
- String
Returns
- Attributes