Enum BinaryOp
Binary operations supported by kernel providers.
public enum BinaryOp
Fields
Add = 0Subtract = 1Multiply = 2Divide = 3Mod = 4BitwiseAnd = 5BitwiseOr = 6BitwiseXor = 7Power = 8FloorDivide = 9LeftShift = 10RightShift = 11ATan2 = 12Element-wise arc tangent of y/x choosing the quadrant correctly (np.arctan2)
Maximum = 13Element-wise maximum, NaN-propagating (np.maximum): a NaN operand wins.
Minimum = 14Element-wise minimum, NaN-propagating (np.minimum): a NaN operand wins.
FMax = 15Element-wise maximum, NaN-ignoring (np.fmax): returns the non-NaN operand.
FMin = 16Element-wise minimum, NaN-ignoring (np.fmin): returns the non-NaN operand.
LogAddExp = 17log(exp(x1)+exp(x2)) computed stably (np.logaddexp).
LogAddExp2 = 18log2(2x1 + 2x2) computed stably (np.logaddexp2).
NextAfter = 19Next representable value after x1 toward x2 (np.nextafter).
CopySign = 20Magnitude of x1 with the sign of x2 (np.copysign).