Share via


MLCGraph.Scatter Method

Definition

[Foundation.Export("scatterWithDimension:source:indices:copyFrom:reductionType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MLCompute.MLCTensor? Scatter(UIntPtr dimension, MLCompute.MLCTensor source, MLCompute.MLCTensor indices, MLCompute.MLCTensor copyFrom, MLCompute.MLCReductionType reductionType);
[<Foundation.Export("scatterWithDimension:source:indices:copyFrom:reductionType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Scatter : unativeint * MLCompute.MLCTensor * MLCompute.MLCTensor * MLCompute.MLCTensor * MLCompute.MLCReductionType -> MLCompute.MLCTensor
override this.Scatter : unativeint * MLCompute.MLCTensor * MLCompute.MLCTensor * MLCompute.MLCTensor * MLCompute.MLCReductionType -> MLCompute.MLCTensor

Parameters

dimension
UIntPtr

unativeint

source
MLCTensor
indices
MLCTensor
copyFrom
MLCTensor
reductionType
MLCReductionType

Returns

Attributes

Applies to