IMLCV#

summary IMLCV is still underdevelopement.

Submodules#

Attributes#

Classes#

JaxHandler

flattens the jax array to numpy array, which is already handled by jsonpickle

Unpickler

Functions#

pytreenode_equal(self, other)

Package Contents#

IMLCV.dist_name = 'IMLCV'#
IMLCV.KEY#
IMLCV.moved_functions#
IMLCV.pytreenode_equal(self, other)#
class IMLCV.JaxHandler(context)#

Bases: jsonpickle.handlers.BaseHandler

flattens the jax array to numpy array, which is already handled by jsonpickle

flatten(obj, data)#

Flatten obj into a json-friendly form and write result to data.

Parameters:
  • obj (object) – The object to be serialized.

  • data (dict) – A partially filled dictionary which will contain the json-friendly representation of obj once this method has finished.

restore(data)#

Restore an object of the registered type from the json-friendly representation obj and return it.

class IMLCV.Unpickler(backend=None, keys=False, safe=True, v1_decode=False, on_missing='ignore', handle_readonly=False)#

Bases: jsonpickle.Unpickler

_restore_object_instance_variables(obj, instance)#
_restore_function(obj)#
IMLCV.unpickler#