MPSNNNeuronDescriptor.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Create(MPSCnnNeuronType) | |
Create(NSData, Boolean) | |
Create(MPSCnnNeuronType, Single) | |
Create(MPSCnnNeuronType, Single, Single) | |
Create(MPSCnnNeuronType, Single, Single, Single) |
Create(MPSCnnNeuronType)
[Foundation.Export("cnnNeuronDescriptorWithType:")]
public static MetalPerformanceShaders.MPSNNNeuronDescriptor Create (MetalPerformanceShaders.MPSCnnNeuronType neuronType);
static member Create : MetalPerformanceShaders.MPSCnnNeuronType -> MetalPerformanceShaders.MPSNNNeuronDescriptor
參數
- neuronType
- MPSCnnNeuronType
傳回
- 屬性
適用於
Create(NSData, Boolean)
[Foundation.Export("cnnNeuronPReLUDescriptorWithData:noCopy:")]
public static MetalPerformanceShaders.MPSNNNeuronDescriptor Create (Foundation.NSData data, bool noCopy);
static member Create : Foundation.NSData * bool -> MetalPerformanceShaders.MPSNNNeuronDescriptor
參數
- data
- NSData
- noCopy
- Boolean
傳回
- 屬性
適用於
Create(MPSCnnNeuronType, Single)
[Foundation.Export("cnnNeuronDescriptorWithType:a:")]
public static MetalPerformanceShaders.MPSNNNeuronDescriptor Create (MetalPerformanceShaders.MPSCnnNeuronType neuronType, float a);
static member Create : MetalPerformanceShaders.MPSCnnNeuronType * single -> MetalPerformanceShaders.MPSNNNeuronDescriptor
參數
- neuronType
- MPSCnnNeuronType
- a
- Single
傳回
- 屬性
適用於
Create(MPSCnnNeuronType, Single, Single)
[Foundation.Export("cnnNeuronDescriptorWithType:a:b:")]
public static MetalPerformanceShaders.MPSNNNeuronDescriptor Create (MetalPerformanceShaders.MPSCnnNeuronType neuronType, float a, float b);
static member Create : MetalPerformanceShaders.MPSCnnNeuronType * single * single -> MetalPerformanceShaders.MPSNNNeuronDescriptor
參數
- neuronType
- MPSCnnNeuronType
- a
- Single
- b
- Single
傳回
- 屬性
適用於
Create(MPSCnnNeuronType, Single, Single, Single)
[Foundation.Export("cnnNeuronDescriptorWithType:a:b:c:")]
public static MetalPerformanceShaders.MPSNNNeuronDescriptor Create (MetalPerformanceShaders.MPSCnnNeuronType neuronType, float a, float b, float c);
static member Create : MetalPerformanceShaders.MPSCnnNeuronType * single * single * single -> MetalPerformanceShaders.MPSNNNeuronDescriptor
參數
- neuronType
- MPSCnnNeuronType
- a
- Single
- b
- Single
- c
- Single
傳回
- 屬性