Function rai_core::ops::add

source ·
pub fn add(lhs: &Tensor, rhs: &Tensor) -> Tensor
Expand description

Adds two Tensor objects.

§Arguments

  • lhs - The first Tensor.
  • rhs - The second Tensor.

§Returns

The resulting Tensor after the addition.