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-07-16 10:17:28 -07:00
2020-07-16 10:17:28 -07:00
2020-04-24 09:11:04 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-07-13 12:59:37 -07:00
2020-04-14 17:22:56 -07:00
2020-05-16 15:55:10 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-23 19:38:35 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-05-23 10:28:21 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-04-11 00:21:24 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-06-30 12:43:57 -07:00
2020-06-30 12:41:59 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-25 16:03:42 -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 16:11:23 -07:00
2020-07-02 16:09:05 -07:00
2020-07-29 05:01:07 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-05-04 09:56:44 -07:00
2020-03-29 14:51:02 -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-16 10:19:43 -07:00
2020-05-20 01:13:23 -07:00
2020-06-15 10:11:26 -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-04-24 14:56:41 -07:00
2020-06-03 11:32:05 -07:00
2020-07-29 16:11:23 -07:00
2020-04-20 14:54:16 -07:00
2020-03-29 14:51:02 -07:00
2020-07-08 04:01:22 -07:00
2020-05-04 09:56:44 -07:00
2020-07-14 14:53:58 -07:00
2020-05-10 13:15:37 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-07-29 16:11:23 -07:00
2020-04-05 14:44:27 -07:00
2020-04-17 10:39:43 -07:00
2020-01-23 11:53:46 -08:00