Share via


IMPSNNPadding Interface

Definition

Interface describing how kernels should pad their inputs.

[Foundation.Protocol(Name="MPSNNPadding", WrapperType=typeof(MetalPerformanceShaders.MPSNNPaddingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLabel", ReturnType=typeof(System.String), Selector="label")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDestinationImageDescriptor", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSImage[]), typeof(MetalPerformanceShaders.MPSState[]), typeof(MetalPerformanceShaders.MPSKernel), typeof(MetalPerformanceShaders.MPSImageDescriptor) }, ReturnType=typeof(MetalPerformanceShaders.MPSImageDescriptor), Selector="destinationImageDescriptorForSourceImages:sourceStates:forKernel:suggestedDescriptor:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetInverse", ReturnType=typeof(MetalPerformanceShaders.IMPSNNPadding), Selector="inverse")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="paddingMethod", IsProperty=true, IsRequired=true, IsStatic=false, Name="PaddingMethod", PropertyType=typeof(MetalPerformanceShaders.MPSNNPaddingMethod), Selector="paddingMethod")]
public interface IMPSNNPadding : Foundation.INSSecureCoding, IDisposable
[<Foundation.Protocol(Name="MPSNNPadding", WrapperType=typeof(MetalPerformanceShaders.MPSNNPaddingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLabel", ReturnType=typeof(System.String), Selector="label")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDestinationImageDescriptor", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSImage[]), typeof(MetalPerformanceShaders.MPSState[]), typeof(MetalPerformanceShaders.MPSKernel), typeof(MetalPerformanceShaders.MPSImageDescriptor) }, ReturnType=typeof(MetalPerformanceShaders.MPSImageDescriptor), Selector="destinationImageDescriptorForSourceImages:sourceStates:forKernel:suggestedDescriptor:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetInverse", ReturnType=typeof(MetalPerformanceShaders.IMPSNNPadding), Selector="inverse")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="paddingMethod", IsProperty=true, IsRequired=true, IsStatic=false, Name="PaddingMethod", PropertyType=typeof(MetalPerformanceShaders.MPSNNPaddingMethod), Selector="paddingMethod")>]
type IMPSNNPadding = interface
    interface INativeObject
    interface IDisposable
    interface INSCoding
    interface INSSecureCoding
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
PaddingMethod

Methods

Name Description
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

(Inherited from INSCoding)
GetDestinationImageDescriptor(MPSImage[], MPSState[], MPSKernel, MPSImageDescriptor)
GetInverse()
GetLabel()

Extension Methods

Name Description
GetDestinationImageDescriptor(IMPSNNPadding, MPSImage[], MPSState[], MPSKernel, MPSImageDescriptor)
GetInverse(IMPSNNPadding)
GetLabel(IMPSNNPadding)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to