pub trait TensorExpAPI {
type Output;
// Required method
fn exp_f(self) -> Result<Self::Output, Error>;
// Provided method
fn exp(self) -> Self::Output
where Self: Sized { ... }
}pub trait TensorExpAPI {
type Output;
// Required method
fn exp_f(self) -> Result<Self::Output, Error>;
// Provided method
fn exp(self) -> Self::Output
where Self: Sized { ... }
}