How to save data within a jitted function

Hi, I want to save some data (e.g. a np.array) inside a jitted function / class. I have seen that is not yet supported nor is the native python way of saving (e.g. file = open(…); file.write…) as File I/O will fallback to python.

Is there another way of saving a np.array into a file?


You can use an object mode block:

You can call inside that block.