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