Share via


MPSGraph_MPSGraphTensorShapeOps.SliceGradient Method

Definition

Overloads

SliceGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, UInt32, String)

[Foundation.Export("sliceGradientTensor:fwdInShapeTensor:startTensor:sizeTensor:squeezeMask:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor SliceGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor inputGradientTensor, MetalPerformanceShadersGraph.MPSGraphTensor fwdInShapeTensor, MetalPerformanceShadersGraph.MPSGraphTensor startTensor, MetalPerformanceShadersGraph.MPSGraphTensor sizeTensor, uint squeezeMask, string? name);
[<Foundation.Export("sliceGradientTensor:fwdInShapeTensor:startTensor:sizeTensor:squeezeMask:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SliceGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * uint32 * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
inputGradientTensor
MPSGraphTensor
fwdInShapeTensor
MPSGraphTensor
startTensor
MPSGraphTensor
sizeTensor
MPSGraphTensor
squeezeMask
UInt32
name
String

Returns

Attributes

Applies to

SliceGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, Int32[], Int32[], Int32[], String)

[Foundation.Export("sliceGradientTensor:fwdInShapeTensor:starts:ends:strides:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor SliceGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor inputGradientTensor, MetalPerformanceShadersGraph.MPSGraphTensor fwdInShapeTensor, int[] starts, int[] ends, int[] strides, string? name);
[<Foundation.Export("sliceGradientTensor:fwdInShapeTensor:starts:ends:strides:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SliceGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * int[] * int[] * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
inputGradientTensor
MPSGraphTensor
fwdInShapeTensor
MPSGraphTensor
starts
Int32[]
ends
Int32[]
strides
Int32[]
name
String

Returns

Attributes

Applies to

SliceGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, UInt32, UInt32, UInt32, String)

[Foundation.Export("sliceGradientTensor:fwdInShapeTensor:startTensor:endTensor:strideTensor:startMask:endMask:squeezeMask:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor SliceGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor inputGradientTensor, MetalPerformanceShadersGraph.MPSGraphTensor fwdInShapeTensor, MetalPerformanceShadersGraph.MPSGraphTensor startTensor, MetalPerformanceShadersGraph.MPSGraphTensor endTensor, MetalPerformanceShadersGraph.MPSGraphTensor strideTensor, uint startMask, uint endMask, uint squeezeMask, string? name);
[<Foundation.Export("sliceGradientTensor:fwdInShapeTensor:startTensor:endTensor:strideTensor:startMask:endMask:squeezeMask:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SliceGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * uint32 * uint32 * uint32 * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
inputGradientTensor
MPSGraphTensor
fwdInShapeTensor
MPSGraphTensor
startTensor
MPSGraphTensor
endTensor
MPSGraphTensor
strideTensor
MPSGraphTensor
startMask
UInt32
endMask
UInt32
squeezeMask
UInt32
name
String

Returns

Attributes

Applies to

SliceGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, Int32[], Int32[], Int32[], UInt32, UInt32, UInt32, String)

[Foundation.Export("sliceGradientTensor:fwdInShapeTensor:starts:ends:strides:startMask:endMask:squeezeMask:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor SliceGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor inputGradientTensor, MetalPerformanceShadersGraph.MPSGraphTensor fwdInShapeTensor, int[] starts, int[] ends, int[] strides, uint startMask, uint endMask, uint squeezeMask, string? name);
[<Foundation.Export("sliceGradientTensor:fwdInShapeTensor:starts:ends:strides:startMask:endMask:squeezeMask:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SliceGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * int[] * int[] * uint32 * uint32 * uint32 * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
inputGradientTensor
MPSGraphTensor
fwdInShapeTensor
MPSGraphTensor
starts
Int32[]
ends
Int32[]
strides
Int32[]
startMask
UInt32
endMask
UInt32
squeezeMask
UInt32
name
String

Returns

Attributes

Applies to