SELU¶
- class dragon.vm.tensorflow.keras.layers.SELU(**kwargs)[source]¶
- Layer to apply the scaled exponential linear unit. [Klambauer et.al, 2017]. \[\text{SELU}(x) = 1.0507 * \begin{cases} x, & \text{ if } x \geq 0 \\ 1.67326 * (\exp(x) - 1), & \text{ otherwise } \end{cases} \]- Examples: - x = tf.constant([-1, 0, 1], 'float32') print(tf.keras.layers.SELU(inplace=False)(x)) 
