Crate monarch_types
monarch_
types
0.0.0
All Items
Crate Items
Macros
Structs
Traits
Crate
monarch_
types
Copy item path
Source
Macros
§
py_
global
Macro to generate a Python object lookup function with caching
py_
module_
add_
function
Macro to register a function to a Python module.
Structs
§
Pickled
PyObject
PyTree
A Rust wrapper around A PyTorch pytree, which can be serialized and sent across the wire. https://github.com/pytorch/pytorch/blob/main/torch/utils/_pytree.py
Serializable
PyErr
A wrapper around
PyErr
that contains a serialized traceback.
Traits
§
MapPy
Err
TryInto
PyObject
Unsafe
A variant of
pyo3::IntoPyObject
used to wrap unsafe impls and propagates the unsafety to the caller.