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