PytorchBackend.maximum#

PytorchBackend.maximum(x1, x2, *args, **kwargs)[source]#

Compute the element wise maximum of arr1 and arr2.

Parameters:
arr1, arr2BackendArray

Input data.

outBackendArray, optional

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

Returns:
BackendArray

Element wise maximum of arr1 and arr2.