編輯

共用方式為


MPSCnnNeuronReLUNode.Create Method

Definition

Overloads

Create(MPSNNImageNode)
Create(MPSNNImageNode, Single)

Create(MPSNNImageNode)

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

Parameters

sourceNode
MPSNNImageNode

Returns

Attributes

Applies to

Create(MPSNNImageNode, Single)

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

Parameters

sourceNode
MPSNNImageNode
a
Single

Returns

Attributes

Applies to