Share via


IMPSCnnBatchNormalizationDataSource Interface

Definition

This interface represents the Objective-C protocol MPSCNNBatchNormalizationDataSource.

[Foundation.Protocol(Name="MPSCNNBatchNormalizationDataSource", WrapperType=typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationDataSourceWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Purge", Selector="purge")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateGammaAndBeta", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState), Selector="updateGammaAndBetaWithCommandBuffer:batchNormalizationState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateMeanAndVariance", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState), Selector="updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateGammaAndBeta", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(System.Boolean), Selector="updateGammaAndBetaWithBatchNormalizationState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateMeanAndVariance", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(System.Boolean), Selector="updateMeanAndVarianceWithBatchNormalizationState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Encode", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSCoder) }, Selector="encodeWithCoder:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Copy", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSZone), typeof(Metal.IMTLDevice) }, ReturnType=typeof(MetalPerformanceShaders.IMPSCnnBatchNormalizationDataSource), Selector="copyWithZone:device:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="numberOfFeatureChannels", IsProperty=true, IsRequired=true, IsStatic=false, Name="NumberOfFeatureChannels", PropertyType=typeof(System.UIntPtr), Selector="numberOfFeatureChannels")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gamma", IsProperty=true, IsRequired=true, IsStatic=false, Name="Gamma", PropertyType=typeof(System.IntPtr), Selector="gamma")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="beta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Beta", PropertyType=typeof(System.IntPtr), Selector="beta")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mean", IsProperty=true, IsRequired=true, IsStatic=false, Name="Mean", PropertyType=typeof(System.IntPtr), Selector="mean")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="variance", IsProperty=true, IsRequired=true, IsStatic=false, Name="Variance", PropertyType=typeof(System.IntPtr), Selector="variance")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="load", IsProperty=true, IsRequired=true, IsStatic=false, Name="Load", PropertyType=typeof(System.Boolean), Selector="load")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="epsilon", IsProperty=true, IsRequired=false, IsStatic=false, Name="Epsilon", PropertyType=typeof(System.Single), Selector="epsilon")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="supportsSecureCoding", IsProperty=true, IsRequired=false, IsStatic=true, Name="SupportsSecureCoding", PropertyType=typeof(System.Boolean), Selector="supportsSecureCoding")]
public interface IMPSCnnBatchNormalizationDataSource : Foundation.INSCopying, IDisposable
[<Foundation.Protocol(Name="MPSCNNBatchNormalizationDataSource", WrapperType=typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationDataSourceWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Purge", Selector="purge")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateGammaAndBeta", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState), Selector="updateGammaAndBetaWithCommandBuffer:batchNormalizationState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateMeanAndVariance", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(MetalPerformanceShaders.MPSCnnNormalizationMeanAndVarianceState), Selector="updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateGammaAndBeta", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(System.Boolean), Selector="updateGammaAndBetaWithBatchNormalizationState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateMeanAndVariance", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MetalPerformanceShaders.MPSCnnBatchNormalizationState) }, ReturnType=typeof(System.Boolean), Selector="updateMeanAndVarianceWithBatchNormalizationState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Encode", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSCoder) }, Selector="encodeWithCoder:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Copy", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSZone), typeof(Metal.IMTLDevice) }, ReturnType=typeof(MetalPerformanceShaders.IMPSCnnBatchNormalizationDataSource), Selector="copyWithZone:device:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="numberOfFeatureChannels", IsProperty=true, IsRequired=true, IsStatic=false, Name="NumberOfFeatureChannels", PropertyType=typeof(System.UIntPtr), Selector="numberOfFeatureChannels")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gamma", IsProperty=true, IsRequired=true, IsStatic=false, Name="Gamma", PropertyType=typeof(System.IntPtr), Selector="gamma")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="beta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Beta", PropertyType=typeof(System.IntPtr), Selector="beta")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mean", IsProperty=true, IsRequired=true, IsStatic=false, Name="Mean", PropertyType=typeof(System.IntPtr), Selector="mean")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="variance", IsProperty=true, IsRequired=true, IsStatic=false, Name="Variance", PropertyType=typeof(System.IntPtr), Selector="variance")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="load", IsProperty=true, IsRequired=true, IsStatic=false, Name="Load", PropertyType=typeof(System.Boolean), Selector="load")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="epsilon", IsProperty=true, IsRequired=false, IsStatic=false, Name="Epsilon", PropertyType=typeof(System.Single), Selector="epsilon")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="supportsSecureCoding", IsProperty=true, IsRequired=false, IsStatic=true, Name="SupportsSecureCoding", PropertyType=typeof(System.Boolean), Selector="supportsSecureCoding")>]
type IMPSCnnBatchNormalizationDataSource = interface
    interface INativeObject
    interface IDisposable
    interface INSCopying
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Beta
Epsilon
Gamma
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Label
Load
Mean
NumberOfFeatureChannels
Variance

Methods

Name Description
Copy(NSZone, IMTLDevice)
Copy(NSZone)

Performs a copy of the underlying Objective-C object.

(Inherited from INSCopying)
CreateInstance<T>(NSCoder)
Encode(NSCoder)
GetSupportsSecureCoding<T>()
Purge()
UpdateGammaAndBeta(IMTLCommandBuffer, MPSCnnBatchNormalizationState)
UpdateGammaAndBeta(MPSCnnBatchNormalizationState)
UpdateMeanAndVariance(IMTLCommandBuffer, MPSCnnBatchNormalizationState)
UpdateMeanAndVariance(MPSCnnBatchNormalizationState)

Extension Methods

Name Description
Copy(IMPSCnnBatchNormalizationDataSource, NSZone, IMTLDevice)
Encode(IMPSCnnBatchNormalizationDataSource, NSCoder)
GetEpsilon(IMPSCnnBatchNormalizationDataSource)
UpdateGammaAndBeta(IMPSCnnBatchNormalizationDataSource, IMTLCommandBuffer, MPSCnnBatchNormalizationState)
UpdateGammaAndBeta(IMPSCnnBatchNormalizationDataSource, MPSCnnBatchNormalizationState)
UpdateMeanAndVariance(IMPSCnnBatchNormalizationDataSource, IMTLCommandBuffer, MPSCnnBatchNormalizationState)
UpdateMeanAndVariance(IMPSCnnBatchNormalizationDataSource, MPSCnnBatchNormalizationState)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to