Skip to content

Instantly share code, notes, and snippets.

View amoodie's full-sized avatar

Andrew Moodie amoodie

View GitHub Profile
# test the possibility of setting and getting mwe within jitted functions
import numpy as np
import numba
@numba.jit
def set_random_seed(_seed):
np.random.seed(_seed)
# test the possibility of setting and getting mwe within jitted functions
import numpy as np
import numba
@numba.jit
def set_random_seed(_seed):
np.random.seed(_seed)