Computes the results of the backward hyperbolic tangent in the batch processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations for the backward hyperbolic tangent layer, double or float |
method | The backward hyperbolic tangent layer computation method, Method |
- Enumerations
- Method Computation methods for the backward hyperbolic tangent layer
- backward.InputId Identifiers of input objects for the backward hyperbolic tangent layer
- LayerDataId Identifiers of collection in input objects for the hyperbolic tangent layer
- backward.InputLayerDataId Identifiers of extra results computed by the forward hyperbolic tangent layer
- backward.ResultId Identifiers of result objects for the backward hyperbolic tangent layer
- References
-
- Deprecated:
- This item will be removed in a future release.
- Aliases
Batch_Float64DefaultDense
is an alias of Batch(fptype=float64, method=daal.algorithms.neural_networks.layers.tanh.defaultDense)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.layers.tanh.defaultDense)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Default constructor
- Deprecated:
- This item will be removed in a future release.
- Variant 2
Constructs a backward tanh layer in the batch processing mode and initializes its parameter with the provided parameter
- Parameters
-
parameter | Parameter to initialize the parameter of the layer |
- Deprecated:
- This item will be removed in a future release.
- Variant 3
Constructs the backward hyperbolic tangent layer by copying input objects of another backward hyperbolic tangent layer in the batch processing mode
- Parameters
-
other | An algorithm to be used as the source to initialize the input objects of the backward hyperbolic tangent layer |
- Deprecated:
- This item will be removed in a future release.
def allocateResult |
( |
|
self | ) |
|
Allocates memory to store the result of the backward hyperbolic tangent layer
- Returns
- Status of computations
Returns a pointer to a newly allocated backward hyperbolic tangent layer with a copy of input objects of this backward hyperbolic tangent layer
- Returns
- Pointer to the newly allocated algorithm
def getLayerInput |
( |
|
self | ) |
|
Returns the structure that contains input objects of the backward hyperbolic tangent layer
- Returns
- Structure that contains input objects of the backward hyperbolic tangent layer
def getLayerParameter |
( |
|
self | ) |
|
Returns the structure that contains parameters of the forward hyperbolic tangent layer
- Returns
- Structure that contains parameters of the forward hyperbolic tangent layer
def getLayerResult |
( |
|
self | ) |
|
Returns the structure that contains results of the backward hyperbolic tangent layer
- Returns
- Structure that contains results of the backward hyperbolic tangent layer
Returns method of the backward hyperbolic tangent layer
- Returns
- Method of the backward hyperbolic tangent layer
Returns the structure that contains the result of the backward hyperbolic tangent layer
- Returns
- Structure that contains the result of backward hyperbolic tangent layer
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store results of the backward hyperbolic tangent layer
- Parameters
-
result | Structure to store results of the backward hyperbolic tangent layer |
- Returns
- Status of computations
Input objects of the layer
The documentation for this class was generated from the following file: