Table Of Contents
Table Of Contents

Block.save_parameters

Block.save_parameters(filename)[source]

Save parameters to file.

Saved parameters can only be loaded with load_parameters. Note that this method only saves parameters, not model structure. If you want to save model structures, please use HybridBlock.export().

Parameters:filename (str) – Path to file.

References

`Saving and Loading Gluon Models

<https://mxnet.incubator.apache.org/tutorials/gluon/save_load_params.html>`_