Function mindspore::dataset::config::load
Defined in File config.h
Function Documentation
-
bool mindspore::dataset::config::load(const std::vector<char> &file)
A function to load the configuration from a file.
Note
The reason for using this API is that std::string will be constrained by the compiler option ‘_GLIBCXX_USE_CXX11_ABI’ while char is free of this restriction.
- Parameters
file – [in] Path of the configuration file to be loaded.