Element-wise sign transplant: magnitudes from x, signs from y.
Useful for sign-preserving operations that need to preserve a sign bit independent of an arbitrary magnitude computation.
Parameters
Returns
TensorBroadcast shape of x and y.
Element-wise sign transplant: magnitudes from x, signs from y.
Useful for sign-preserving operations that need to preserve a sign bit independent of an arbitrary magnitude computation.
TensorBroadcast shape of x and y.