Trait custos_math::ClipOp
source · pub trait ClipOp<T, S: Shape = (), D: Device = Self>: Device {
// Required method
fn clip(
&self,
x: &Matrix<'_, T, D, S>,
min: T,
max: T
) -> Matrix<'_, T, Self, S>;
}