MPSGraph_MPSGraphTensorShapeOps.Pad 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("padTensor:withPaddingMode:leftPadding:rightPadding:constantValue:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Pad(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, MetalPerformanceShadersGraph.MPSGraphPaddingMode paddingMode, int[] leftPadding, int[] rightPadding, double constantValue, string? name);
[<Foundation.Export("padTensor:withPaddingMode:leftPadding:rightPadding:constantValue:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Pad : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphPaddingMode * int[] * int[] * double * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- tensor
- MPSGraphTensor
- paddingMode
- MPSGraphPaddingMode
- leftPadding
- Int32[]
- rightPadding
- Int32[]
- constantValue
- Double
- name
- String
Returns
- Attributes