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