pub fn ln<'graph, A, F: Float>(x: A) -> Tensor<'graph, F>
where
    A: AsRef<Tensor<'graph, F>> + Copy,
{
    let x = x.as_ref();
    let g = x.graph();
    Tensor::builder(g)
        .append_input(x.as_ref(), false)
        .set_shape(&shape(x))
        .build(math_ops::Ln)
}
/// Elementwise base e (napier) logarithm
Elementwise base e (napier) logarithm
Elementwise base e ( napier ) logarithm
pub fn ln<'graph, A, F: Float>(x: A) -> Tensor<'graph, F>
where
    A: AsRef<Tensor<'graph, F>> + Copy,
{
    let x = x.as_ref();
    let g = x.graph();
    Tensor::builder(g)
        .append_input(x.as_ref(), false)
        .set_shape(&shape(x))
        .build(math_ops::Ln)
}
pub fn ln < ' graph , A , F : Float > ( x : A ) -> Tensor < ' graph , F > where A : AsRef < Tensor < ' graph , F > > + Copy , { let x = x . as_ref ( ) ; let g = x . graph ( ) ; Tensor :: builder ( g ) . append_input ( x . as_ref ( ) , false ) . set_shape ( & shape ( x ) ) . build ( math_ops :: Ln ) }
Elementwise base e (napier) logarithm
Elementwise base e ( napier ) logarithm
x
A
x
A