Skip to main content

eq

Function eq 

Source
pub fn eq<T: Scalar, B: ElementwiseOps<T>>(
    a: &Tensor<T, B>,
    b: &Tensor<T, B>,
    backend: &B,
) -> Result<Tensor<T, B>, B::Error>
Expand description

Element-wise equality comparison mask.