共用方式為


MPSCnnNeuronPower 建構函式

定義

多載

MPSCnnNeuronPower(NSCoder)
MPSCnnNeuronPower(NSObjectFlag)
MPSCnnNeuronPower(IntPtr)
MPSCnnNeuronPower(IMTLDevice, MPSNNNeuronDescriptor)
MPSCnnNeuronPower(IMTLDevice, Single, Single, Single)

MPSCnnNeuronPower(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnNeuronPower (Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSCnnNeuronPower : Foundation.NSCoder -> MetalPerformanceShaders.MPSCnnNeuronPower

參數

coder
NSCoder
屬性

適用於

MPSCnnNeuronPower(NSObjectFlag)

protected MPSCnnNeuronPower (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSCnnNeuronPower : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSCnnNeuronPower

參數

適用於

MPSCnnNeuronPower(IntPtr)

protected internal MPSCnnNeuronPower (IntPtr handle);
new MetalPerformanceShaders.MPSCnnNeuronPower : nativeint -> MetalPerformanceShaders.MPSCnnNeuronPower

參數

handle
IntPtr

nativeint

適用於

MPSCnnNeuronPower(IMTLDevice, MPSNNNeuronDescriptor)

[Foundation.Export("initWithDevice:neuronDescriptor:")]
[ObjCRuntime.DesignatedInitializer]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public MPSCnnNeuronPower (Metal.IMTLDevice device, MetalPerformanceShaders.MPSNNNeuronDescriptor neuronDescriptor);
new MetalPerformanceShaders.MPSCnnNeuronPower : Metal.IMTLDevice * MetalPerformanceShaders.MPSNNNeuronDescriptor -> MetalPerformanceShaders.MPSCnnNeuronPower

參數

device
IMTLDevice
neuronDescriptor
MPSNNNeuronDescriptor
屬性

適用於

MPSCnnNeuronPower(IMTLDevice, Single, Single, Single)

[Foundation.Export("initWithDevice:a:b:c:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Please use '.ctor (IMTLDevice, MPSNNNeuronDescriptor)' overload instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Please use '.ctor (IMTLDevice, MPSNNNeuronDescriptor)' overload instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Please use '.ctor (IMTLDevice, MPSNNNeuronDescriptor)' overload instead.")]
public MPSCnnNeuronPower (Metal.IMTLDevice device, float a, float b, float c);
new MetalPerformanceShaders.MPSCnnNeuronPower : Metal.IMTLDevice * single * single * single -> MetalPerformanceShaders.MPSCnnNeuronPower

參數

device
IMTLDevice
a
Single
b
Single
c
Single
屬性

適用於