Function mindspore::dataset::SchemaCharIF

Function Documentation

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

Function to create a SchemaObj.

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

schema_file[in] Path of schema file.

Returns

Shared pointer to the current schema.