Rectified linear unit layer: applies f(x) = max(0, x) element wise.
ReLU
01 Syntax
Microsoft.VisualBasic.MachineLearning.Convolutional.ReLU
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | Creates a ReLU layer. |
| layerFeedNext | 1 | Applies the rectifier to every element of the input tensor. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| type | 1 | Gets the layer kind, always LayerTypes.ReLU. |
04 Members
#ctor(
Int32())Creates a ReLU layer.
Parameters
| Name | Type | Description |
|---|---|---|
inputTensorDims | Int32() | The dimensions |
layerFeedNext
Applies the rectifier to every element of the input tensor.
Returns
This layer instance once the activations have been written to the next layer.
type
Gets the layer kind, always LayerTypes.ReLU.