Table Of Contents
Table Of Contents


Block.load_parameters(filename, ctx=None, allow_missing=False, ignore_extra=False)[source]

Load parameters from file previously saved by save_parameters.

  • filename (str) – Path to parameter file.

  • ctx (Context or list of Context, default cpu()) – Context(s) to initialize loaded parameters on.

  • allow_missing (bool, default False) – Whether to silently skip loading parameters not represents in the file.

  • ignore_extra (bool, default False) – Whether to silently ignore parameters from the file that are not present in this Block.


Saving and Loading Gluon Models