proteneer / timemachine

Differentiate all the things!
Other
138 stars 17 forks source link

Switch to usage of SegmentedSumExp #1239

Closed badisa closed 7 months ago

badisa commented 7 months ago

Follow up to https://github.com/proteneer/timemachine/pull/1235 that converts the LogSumExp class into a SegmentedLogSumExp. The previous LogSumExp implementation only functioned on a single array of values, and the SegmentedLogSumExp is the last nicely separated part of the code necessary to start batching multiple proposals in each step.

This has little to no performance impact (at most 1% faster) despite removing the EventSync.