Skip to main content

elementwise_binary_to

Function elementwise_binary_to 

Source
pub fn elementwise_binary_to<T: Scalar, B: ElementwiseOps<T>>(
    a: &Tensor<T, B>,
    b: &Tensor<T, B>,
    out: &mut Tensor<T, B>,
    backend: &B,
    op: BinaryOp,
) -> Result<(), B::Error>
Expand description

Apply element-wise binary operation to a and b, writing result to out.