MPSGraph_MPSGraphLossOps.SoftMaxCrossEntropyGradient 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.
[Foundation.Export("softMaxCrossEntropyGradientWithIncomingGradientTensor:sourceTensor:labelsTensor:axis:reductionType:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor SoftMaxCrossEntropyGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradientTensor, MetalPerformanceShadersGraph.MPSGraphTensor sourceTensor, MetalPerformanceShadersGraph.MPSGraphTensor labelsTensor, IntPtr axis, MetalPerformanceShadersGraph.MPSGraphLossReductionType reductionType, string? name);
[<Foundation.Export("softMaxCrossEntropyGradientWithIncomingGradientTensor:sourceTensor:labelsTensor:axis:reductionType:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SoftMaxCrossEntropyGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * nativeint * MetalPerformanceShadersGraph.MPSGraphLossReductionType * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- gradientTensor
- MPSGraphTensor
- sourceTensor
- MPSGraphTensor
- labelsTensor
- MPSGraphTensor
- axis
-
IntPtr
nativeint
- reductionType
- MPSGraphLossReductionType
- name
- String
Returns
- Attributes