pub trait TensorEqualAPI<TRB> {
type Output;
// Required method
fn equal_f(self, b: TRB) -> Result<Self::Output, Error>;
// Provided method
fn equal(self, b: TRB) -> Self::Output
where Self: Sized { ... }
}pub trait TensorEqualAPI<TRB> {
type Output;
// Required method
fn equal_f(self, b: TRB) -> Result<Self::Output, Error>;
// Provided method
fn equal(self, b: TRB) -> Self::Output
where Self: Sized { ... }
}