mythos.input.tree

Functions for saving and loading pytrees.

Functions

save_pytree(→ None)

Save a pytree to a file.

load_pytree(→ mythos.utils.types.PyTree)

Load a pytree to a file.

Module Contents

mythos.input.tree.save_pytree(data: mythos.utils.types.PyTree, filename: mythos.utils.types.PathOrStr) None[source]

Save a pytree to a file.

mythos.input.tree.load_pytree(filename: mythos.utils.types.PathOrStr) mythos.utils.types.PyTree[source]

Load a pytree to a file.