Function mindspore::dataset::config::load

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. Check API mindspore::dataset::config::load(const std::string &file) and find more usage.

Parameters

file[in] Path of the configuration file to be loaded.

Returns

The config file is loaded successfully or not.