pub fn tf_default() -> Self {
        let pos_limits: Vec<_> = iter::successors(Some(1e-12), |prev| {
            let curr = *prev * 1.1;
            let ok = curr < 1e20;
            ok.then(|| curr)
        })
        .collect();

        let limits: Vec<_> = chain!(
            pos_limits.iter().cloned().map(Neg::neg).rev(),
            [0.0],
            pos_limits.iter().cloned(),
        )
        .collect();

        Self::new(limits).unwrap()
    }
/// Create a histogram with TensorFlow's default bucket limits.
Create a histogram with TensorFlow's default bucket limits.
Create a histogram with TensorFlow ' s default bucket limits .
pub fn tf_default() -> Self {
        let pos_limits: Vec<_> = iter::successors(Some(1e-12), |prev| {
            let curr = *prev * 1.1;
            let ok = curr < 1e20;
            ok.then(|| curr)
        })
        .collect();
        let limits: Vec<_> = chain!(
            pos_limits.iter().cloned().map(Neg::neg).rev(),
            [0.0],
            pos_limits.iter().cloned(),
        )
        .collect();
        Self::new(limits).unwrap()
    }
pub fn tf_default ( ) -> Self { let pos_limits : Vec < _ > = iter :: successors ( Some ( 1e-12 ) , | prev | { let curr = * prev * 1.1 ; let ok = curr < 1e20 ; ok . then ( | | curr ) } ) . collect ( ) ; let limits : Vec < _ > = chain ! ( pos_limits iter ( ) cloned ( ) map ( Neg neg ) rev ( ) [ 0.0 ] pos_limits iter ( ) cloned ( ) ) . collect ( ) ; Self :: new ( limits ) . unwrap ( ) }
Create a histogram with TensorFlow's default bucket limits.
Create a histogram with TensorFlow ' s default bucket limits .