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.

说明

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.

参数

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

返回

The config file is loaded successfully or not.