In-place elementwise maximum: writes back into a.
Math
See Also
maximum_op — out-of-place counterpart.
minimum_inplace_op — elementwise minimum sibling.
Parameters
aTensorImplPtrLeft operand and in-place target. Must be non-null and must not share storage with a view.
bTensorImplPtrRight operand. Must be non-null and broadcastable into
a->shape().Returns
TensorImplPtrThe same pointer as a, now holding the elementwise maxima.
Raises
ShapeMismatchIf the broadcast output would change
a's shape.RuntimeErrorIf
a shares storage with a view.