1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-14 00:06:58 +08:00

Update serial.rst

This commit is contained in:
bxdd
2021-02-05 12:17:03 +08:00
committed by you-n-g
parent ca6c2ffc27
commit 6a670828a5

View File

@@ -13,7 +13,7 @@ Serializable Class
======================== ========================
``Qlib`` provides a base class ``qlib.utils.serial.Serializable``, whose state can be dumped into or loaded from disk in `pickle` format. ``Qlib`` provides a base class ``qlib.utils.serial.Serializable``, whose state can be dumped into or loaded from disk in `pickle` format.
When users dump the state of the ``Serializable`` instance, the attributes of the instance whose name **does not** start with `_` will be saved on the disk. When users dump the state of a ``Serializable`` instance, the attributes of the instance whose name **does not** start with `_` will be saved on the disk.
Example Example
========================== ==========================