Nikhila Ravi 5852b74d12 Softmax blending small fix
Summary:
Small fix to the softmax blending function.

To avoid overflow in the exponential for the softmax, the exponent is shifted by the maximum value. In the final calculation of the color there is a weighted sum between the pixel color and the background color - in order for the sum to be correct, the background color also needs to be handled in the same way witt the shifted exponent.

Reviewed By: gkioxari

Differential Revision: D23148301

fbshipit-source-id: 86066586ee7d3ce7bd4a2076b12ce191fbd151a7
2020-08-17 11:59:53 -07:00
..
2020-08-07 13:22:26 -07:00
2020-01-23 11:53:46 -08:00
2020-04-24 09:11:04 -07:00
2020-04-14 17:22:56 -07:00
2020-04-17 07:44:16 -07:00
2020-04-11 00:21:24 -07:00
2020-04-17 07:44:16 -07:00
2020-04-16 14:02:16 -07:00
2020-08-17 11:59:53 -07:00
2020-04-20 12:19:45 -07:00
2020-05-04 09:56:44 -07:00
2020-05-04 09:56:44 -07:00
2020-04-17 07:44:16 -07:00
2020-04-24 09:11:04 -07:00
2020-05-05 11:09:45 -07:00
2020-04-24 09:11:04 -07:00
2020-08-07 01:59:58 -07:00
2020-07-29 05:01:07 -07:00
2020-05-04 09:56:44 -07:00
2020-07-03 10:21:12 -07:00
2020-07-29 16:11:23 -07:00
2020-04-06 06:41:00 -07:00
2020-04-24 09:11:04 -07:00
2020-07-03 10:21:12 -07:00
2020-05-04 09:56:44 -07:00
2020-05-04 09:56:44 -07:00
2020-08-07 13:22:26 -07:00
2020-07-17 10:28:53 -07:00
2020-07-29 16:11:23 -07:00
2020-05-04 09:56:44 -07:00
2020-07-29 16:11:23 -07:00
2020-01-23 11:53:46 -08:00