Searched refs:raw_header (Results 1 – 1 of 1) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/ |
D | shard_header.cc | 125 std::shared_ptr<json> raw_header; in BuildSingleHeader() local 126 RETURN_IF_NOT_OK(ValidateHeader(file_path, &raw_header)); in BuildSingleHeader() 128 … raw_header->contains("compression_size") ? (*raw_header)["compression_size"].get<uint64_t>() : 0; in BuildSingleHeader() 129 json header = {{"shard_addresses", (*raw_header)["shard_addresses"]}, in BuildSingleHeader() 130 {"header_size", (*raw_header)["header_size"]}, in BuildSingleHeader() 131 {"page_size", (*raw_header)["page_size"]}, in BuildSingleHeader() 133 {"index_fields", (*raw_header)["index_fields"]}, in BuildSingleHeader() 134 {"blob_fields", (*raw_header)["schema"][0]["blob_fields"]}, in BuildSingleHeader() 135 {"schema", (*raw_header)["schema"][0]["schema"]}, in BuildSingleHeader() 136 {"version", (*raw_header)["version"]}}; in BuildSingleHeader()
|