MPSNNNeuronDescriptor.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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
Paramètres
- neuronType
- MPSCnnNeuronType
Retours
- Attributs
S’applique à
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
Paramètres
- data
- NSData
- noCopy
- Boolean
Retours
- Attributs
S’applique à
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
Paramètres
- neuronType
- MPSCnnNeuronType
- a
- Single
Retours
- Attributs
S’applique à
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
Paramètres
- neuronType
- MPSCnnNeuronType
- a
- Single
- b
- Single
Retours
- Attributs
S’applique à
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
Paramètres
- neuronType
- MPSCnnNeuronType
- a
- Single
- b
- Single
- c
- Single
Retours
- Attributs