MPSCnnNeuronLogarithm 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MPSCnnNeuronLogarithm(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnNeuronLogarithm(Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSCnnNeuronLogarithm : Foundation.NSCoder -> MetalPerformanceShaders.MPSCnnNeuronLogarithm
參數
- coder
- NSCoder
- 屬性
適用於
MPSCnnNeuronLogarithm(NSObjectFlag)
protected MPSCnnNeuronLogarithm(Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSCnnNeuronLogarithm : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSCnnNeuronLogarithm
參數
適用於
MPSCnnNeuronLogarithm(IntPtr)
protected internal MPSCnnNeuronLogarithm(IntPtr handle);
new MetalPerformanceShaders.MPSCnnNeuronLogarithm : nativeint -> MetalPerformanceShaders.MPSCnnNeuronLogarithm
參數
- handle
-
IntPtr
nativeint
適用於
MPSCnnNeuronLogarithm(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 MPSCnnNeuronLogarithm(Metal.IMTLDevice device, MetalPerformanceShaders.MPSNNNeuronDescriptor neuronDescriptor);
new MetalPerformanceShaders.MPSCnnNeuronLogarithm : Metal.IMTLDevice * MetalPerformanceShaders.MPSNNNeuronDescriptor -> MetalPerformanceShaders.MPSCnnNeuronLogarithm
參數
- device
- IMTLDevice
- neuronDescriptor
- MPSNNNeuronDescriptor
- 屬性
適用於
MPSCnnNeuronLogarithm(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 MPSCnnNeuronLogarithm(Metal.IMTLDevice device, float a, float b, float c);
new MetalPerformanceShaders.MPSCnnNeuronLogarithm : Metal.IMTLDevice * single * single * single -> MetalPerformanceShaders.MPSCnnNeuronLogarithm
參數
- device
- IMTLDevice
- a
- Single
- b
- Single
- c
- Single
- 屬性