Home
last modified time | relevance | path

Searched refs:GetSchemas (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_header_test.cc73 ASSERT_EQ(header_data.GetSchemas().size(), 1); in TEST_F()
125 ASSERT_EQ(header_data_new.GetSchemas().size(), 1); in TEST_F()
Dut_shard.cc114 for (auto &schema_ptr : header_data.GetSchemas()) { in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_header.h62 std::vector<std::shared_ptr<Schema>> GetSchemas();
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_header.cc489 CHECK_FAIL_RETURN_UNEXPECTED(!GetSchemas().empty(), "Invalid data, schema is empty."); in AddIndexFields()
571 std::vector<std::shared_ptr<Schema>> ShardHeader::GetSchemas() { return schema_; } in GetSchemas() function in mindspore::mindrecord::ShardHeader
646 auto build_schema_ptr = (*header_ptr)->GetSchemas()[0]; in Initialize()
Dshard_column.cc26 auto first_schema = shard_header->GetSchemas()[0]; in ShardColumn()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_reader.cc168 for (auto &p : GetShardHeader()->GetSchemas()) { in CheckColumnList()
372 auto schema = shard_header_->GetSchemas()[0]->GetSchema()["schema"]; in ConvertLabelToJson()
612 auto schema = shard_header_->GetSchemas()[0]->GetSchema(); in GetImageOffset()
655 auto schema = shard_header_->GetSchemas()[0]->GetSchema(); in GetPagesByCategory()
686 for (auto &p : GetShardHeader()->GetSchemas()) { in GetBlobFields()
862 auto schema = shard_header_->GetSchemas()[0]->GetSchema()["schema"]; in GetLabels()
Dshard_segment.cc313 auto schema_list = GetShardHeader()->GetSchemas(); in GetBlobFields()
Dshard_writer.cc187 std::vector<std::shared_ptr<Schema>> schemas = header_data->GetSchemas(); in SetShardHeader()
394 CHECK_FAIL_RETURN_UNEXPECTED(shard_header_->GetSchemas().size() == schema_count_, in ValidateRawData()
408 const std::vector<std::shared_ptr<Schema>> &schemas = shard_header_->GetSchemas(); in ValidateRawData()
Dshard_index_generator.cc60 auto schema = shard_header_.GetSchemas()[0]->GetSchema()["schema"]; in GetValueByField()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dgraph_loader.cc101 graph_impl_->data_schema_ = (shard_reader_->GetShardHeader()->GetSchemas()[0]->GetSchema()); in InitAndLoad()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_pybind.cc88 .def("get_meta", &ShardHeader::GetSchemas) in BindShardHeader()