Function mindspore::dataset::SchemaCharIF

Function Documentation

std::shared_ptr<SchemaObj> mindspore::dataset::SchemaCharIF(const std::vector<char> &schema_file)

Function to create a SchemaObj.

说明

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.

参数

schema_file[in] Path of schema file.

返回

Shared pointer to the current schema.