Layer Input

The forward hyperbolic tangent layer accepts the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.

Input ID

Input

data

Pointer to the tensor of size n1 x n2 x ... x np that stores the input data for the forward hyperbolic tangent layer. This input can be an object of any class derived from Tensor.

Layer Parameters

For common parameters of neural network layers, see Common Parameters.

In addition to the common parameters, the forward hyperbolic tangent layer has the following parameters:

Parameter

Default Value

Description

algorithmFPType

float

The floating-point type that the algorithm uses for intermediate computations. Can be float or double.

method

defaultDense

Performance-oriented computation method, the only method supported by the layer.

Layer Output

The forward hyperbolic tangent layer calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.

Result ID

Result

value

Pointer to the tensor of size n1 x n2 x ... x np that stores the result of the forward hyperbolic tangent layer. This input can be an object of any class derived from Tensor.

resultForBackward

Collection of data needed for the backward hyperbolic tangent layer.

Element ID

Element

auxValue

Pointer to the tensor of size n1 x n2 x ... x np that stores the result of the forward hyperbolic tangent layer. This input can be an object of any class derived from Tensor.

有关编译器优化的更完整信息,请参阅优化通知
选择粘滞按钮颜色: 
Orange (only for download buttons)