Function mindspore::dataset::Schema

Function Documentation

inline std::shared_ptr<SchemaObj> mindspore::dataset::Schema(const std::string &schema_file = "")

Function to create a SchemaObj.

参数

schema_file[in] Path of schema file.

返回

Shared pointer to the current schema.