pub trait ArrayCompareAlgebra<Value>: CompareAlgebra<Value> + ArrayAlgebra<Value> {
// Required methods
fn max_as(&mut self, v: &Value, dims: Self::Dims) -> Result<Value>;
fn argmax_as(&mut self, v: &Value, dims: Self::Dims) -> Result<Value>;
fn softmax_as(&mut self, v: &Value, dims: Self::Dims) -> Result<Value>;
}Expand description
Array-oriented comparison operations.
Required Methods§
fn max_as(&mut self, v: &Value, dims: Self::Dims) -> Result<Value>
fn argmax_as(&mut self, v: &Value, dims: Self::Dims) -> Result<Value>
fn softmax_as(&mut self, v: &Value, dims: Self::Dims) -> Result<Value>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.