Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Provides methods for the rectified linear unit (relu) layer in the batch processing mode. More...
ReluBatch | ( | DaalContext | context, |
Class<?extends Number > | cls, | ||
ReluMethod | method | ||
) |
Constructs the relu layer
context | Context to manage the relu layer |
cls | Data type to use in intermediate computations for the layer, Double.class or Float.class |
method | The layer computation method, ReluMethod |
ReluMethod method |
Computation method for the layer
|
protected |
Data type to use in intermediate computations for the layer
For more complete information about compiler optimizations, see our Optimization Notice.