set_wrapper_function#

jeanspy.sampler.Sampler.set_wrapper_function

Class and construction: Sampler.

Sampler.set_wrapper_function()[source]#

Install the current log-probability callable in this worker process.

Returns None. The module-level wrapper lets multiprocessing workers evaluate their initialized model without repeatedly serializing it. This is host-side worker initialization, not a numerical solver.