Source code for deepmd.utils.errors

[docs]class GraphTooLargeError(Exception): """The graph is too large, exceeding protobuf's hard limit of 2GB."""
[docs]class GraphWithoutTensorError(Exception): pass
[docs]class OutOfMemoryError(Exception): """This error is caused by out-of-memory (OOM)."""