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