Element-wise sign transplant: magnitudes from input, signs from other.
Useful for sign-preserving operations that need to preserve a sign bit independent of an arbitrary magnitude computation.
Parameters
Returns
TensorBroadcast shape of input and other at their common floating dtype.