Table Of Contents
Table Of Contents

Symbol.save

Symbol.save(fname)[source]

Saves symbol to a file.

You can also use pickle to do the job if you only work on python. The advantage of load/save functions is that the file contents are language agnostic. This means the model saved by one language binding can be loaded by a different language binding of MXNet. You also get the benefit of being able to directly load/save from cloud storage(S3, HDFS).

Parameters:fname (str) –

The name of the file.

  • ”s3://my-bucket/path/my-s3-symbol”
  • ”hdfs://my-bucket/path/my-hdfs-symbol”
  • ”/path-to/my-local-symbol”

See also

symbol.load()
Used to load symbol from file.