Plugins ================= Potc support --------------------- `Potc `_ is a package that can convert any object into executable source code. For ``DI-treetensor``, potc can support the source code transformation of treevalue objects through the installation of additional plugins. So we can execute the following installation command .. code:: shell pip install DI-treetensor[potc] After this installation, you will be able to directly convert tree-nested tensors to objects without any additional operations. Such as .. literalinclude:: potc_demo.demo.py :language: python :linenos: The output should be .. literalinclude:: potc_demo.demo.py.txt :language: text :linenos: Also, you can use the following CLI command to get the same output results as above. .. code:: shell potc export -v 'test_simple.t_*' For further information, you can refer to * `potc-dev/potc `_ * `potc-dev/potc-treevalue `_ * `potc-dev/potc-torch `_