pub fn elu<'graph, A, F: Float>(x: A, alpha: F) -> Tensor<'graph, F>
where
    A: AsRef<Tensor<'graph, F>> + Copy,
{
    let x = x.as_ref();
    let g = x.graph();
    Tensor::builder(g)
        .set_shape(&shape(x))
        .append_input(x.as_ref(), false)
        .build(activation_ops::ELU { alpha })
}
/// Elementwise exponential linear unit.
///
/// See <https://arxiv.org/abs/1511.07289>
Elementwise exponential linear unit.
See
Elementwise exponential linear unit . See
pub fn elu<'graph, A, F: Float>(x: A, alpha: F) -> Tensor<'graph, F>
where
    A: AsRef<Tensor<'graph, F>> + Copy,
{
    let x = x.as_ref();
    let g = x.graph();
    Tensor::builder(g)
        .set_shape(&shape(x))
        .append_input(x.as_ref(), false)
        .build(activation_ops::ELU { alpha })
}
pub fn elu < ' graph , A , F : Float > ( x : A , alpha : F ) -> Tensor < ' graph , F > where A : AsRef < Tensor < ' graph , F > > + Copy , { let x = x . as_ref ( ) ; let g = x . graph ( ) ; Tensor :: builder ( g ) . set_shape ( & shape ( x ) ) . append_input ( x . as_ref ( ) , false ) . build ( activation_ops :: ELU { alpha } ) }
Elementwise exponential linear unit.
Elementwise exponential linear unit .
x
A
alpha
F
x
A
alpha
F