Function mindspore::dataset::Schema

Function Documentation

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

Function to create a SchemaObj.

Parameters

schema_file[in] Path of schema file.

Returns

Shared pointer to the current schema.