use crate::tensor_ops::cpu_kernels::UnaryDerivative;
use num_traits::Float;
impl<F: Float> UnaryDerivative<F> for super::ExpKernelOp {
const DF_USES_FX: bool = true;
const HAS_CONST_DF: bool = false;
#[inline(always)]
fn f(&self, x: &F) -> F {
x.exp()
}
#[inline(always)]
fn df(&self, &fx: &F) -> F {
fx
}
}