MatchingBackend.add#

abstract MatchingBackend.add(arr1, arr2, out=None)[source]#

Element-wise addition of arrays.

Parameters:
arr1BackendArray

Input array.

arr2BackendArray

Input array.

outBackendArray, optional

Output array to write the result to. Returns a new array by default.

Returns:
BackendArray

Element-wise sum of the input arrays.