編輯

共用方式為


MPSCnnNeuronEluNode.Create Method

Definition

Overloads

Create(MPSNNImageNode)
Create(MPSNNImageNode, Single)

Create(MPSNNImageNode)

[Foundation.Export("nodeWithSource:")]
public static MetalPerformanceShaders.MPSCnnNeuronEluNode Create (MetalPerformanceShaders.MPSNNImageNode sourceNode);
static member Create : MetalPerformanceShaders.MPSNNImageNode -> MetalPerformanceShaders.MPSCnnNeuronEluNode

Parameters

sourceNode
MPSNNImageNode

Returns

Attributes

Applies to

Create(MPSNNImageNode, Single)

[Foundation.Export("nodeWithSource:a:")]
public static MetalPerformanceShaders.MPSCnnNeuronEluNode Create (MetalPerformanceShaders.MPSNNImageNode sourceNode, float a);
static member Create : MetalPerformanceShaders.MPSNNImageNode * single -> MetalPerformanceShaders.MPSCnnNeuronEluNode

Parameters

sourceNode
MPSNNImageNode
a
Single

Returns

Attributes

Applies to