Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
rabit::c_api::ReadWrapper Struct Reference
Inheritance diagram for rabit::c_api::ReadWrapper:
dmlc::Serializable

Public Member Functions

 ReadWrapper (std::string *p_str)
 
void Load (Stream *fi) override
 load the model from a stream
 
void Save (Stream *) const override
 saves the model to a stream
 
- Public Member Functions inherited from dmlc::Serializable
virtual ~Serializable ()
 virtual destructor
 

Data Fields

std::string * p_str
 

Member Function Documentation

◆ Load()

void rabit::c_api::ReadWrapper::Load ( Stream fi)
inlineoverridevirtual

load the model from a stream

Parameters
fistream where to load the model from

Implements dmlc::Serializable.

◆ Save()

void rabit::c_api::ReadWrapper::Save ( Stream fo) const
inlineoverridevirtual

saves the model to a stream

Parameters
fostream where to save the model to

Implements dmlc::Serializable.


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