MPSCnnConvolutionDescriptor.SetNeuronType Method

Definition

[Foundation.Export("setNeuronType:parameterA:parameterB:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'FusedNeuronDescriptor' property instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'FusedNeuronDescriptor' property instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.None, "Use 'FusedNeuronDescriptor' property instead.")]
public virtual void SetNeuronType (MetalPerformanceShaders.MPSCnnNeuronType neuronType, float parameterA, float parameterB);
[Foundation.Export("setNeuronType:parameterA:parameterB:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetNeuronType (MetalPerformanceShaders.MPSCnnNeuronType neuronType, float parameterA, float parameterB);
abstract member SetNeuronType : MetalPerformanceShaders.MPSCnnNeuronType * single * single -> unit
override this.SetNeuronType : MetalPerformanceShaders.MPSCnnNeuronType * single * single -> unit

Parameters

neuronType
MPSCnnNeuronType
parameterA
Single
parameterB
Single
Attributes

Applies to