mxnet
Public Member Functions | List of all members
dmlc::Serializable Class Referenceabstract

interface for serializable objects More...

#include <io.h>

Collaboration diagram for dmlc::Serializable:
Collaboration graph

Public Member Functions

virtual ~Serializable ()
 virtual destructor More...
 
virtual void Load (Stream *fi)=0
 load the model from a stream More...
 
virtual void Save (Stream *fo) const =0
 saves the model to a stream More...
 

Detailed Description

interface for serializable objects

Constructor & Destructor Documentation

virtual dmlc::Serializable::~Serializable ( )
inlinevirtual

virtual destructor

Member Function Documentation

virtual void dmlc::Serializable::Load ( Stream fi)
pure virtual

load the model from a stream

Parameters
fistream where to load the model from
virtual void dmlc::Serializable::Save ( Stream fo) const
pure virtual

saves the model to a stream

Parameters
fostream where to save the model to

The documentation for this class was generated from the following file: