Home
last modified time | relevance | path

Searched refs:GetNumClasses (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_datasets_test.cc240 EXPECT_EQ(ds->GetNumClasses(), 4); in TEST_F()
241 EXPECT_EQ(ds->GetNumClasses(), 4); in TEST_F()
317 EXPECT_EQ(ds->GetNumClasses(), 2); in TEST_F()
326 EXPECT_EQ(ds->GetNumClasses(), -1); in TEST_F()
Dc_api_dataset_cifar_test.cc141 int64_t num_classes = ds->GetNumClasses(); in TEST_F()
155 EXPECT_EQ(ds->GetNumClasses(), -1); in TEST_F()
163 EXPECT_EQ(ds->GetNumClasses(), -1); in TEST_F()
213 int64_t num_classes = ds->GetNumClasses(); in TEST_F()
Dc_api_dataset_sbu_test.cc151 EXPECT_EQ(ds->GetNumClasses(), -1); in TEST_F()
159 EXPECT_EQ(ds->GetNumClasses(), -1); in TEST_F()
Dc_api_dataset_manifest_test.cc121 EXPECT_EQ(ds1->GetNumClasses(), 2); in TEST_F()
126 EXPECT_EQ(ds2->GetNumClasses(), 3); in TEST_F()
Dc_api_dataset_album_test.cc124 int64_t num_classes = ds->GetNumClasses(); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dconcat_op.cc108 Status ConcatOp::GetNumClasses(int64_t *num_classes) { in GetNumClasses() function in mindspore::dataset::ConcatOp
113 RETURN_IF_NOT_OK(child->GetNumClasses(&tmp_num_classes)); in GetNumClasses()
Ddataset_op.cc269 Status DatasetOp::GetNumClasses(int64_t *num_classes) { in GetNumClasses() function in mindspore::dataset::DatasetOp
271 return child_[0]->GetNumClasses(num_classes); in GetNumClasses()
276 return child_[child_.size() - 1]->GetNumClasses(num_classes); in GetNumClasses()
Dconcat_op.h73 Status GetNumClasses(int64_t *num_classes) override;
Ddataset_op.h175 virtual Status GetNumClasses(int64_t *num_classes);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dmanifest_op.h74 Status GetNumClasses(int64_t *num_classes) override;
Dimage_folder_op.h109 Status GetNumClasses(int64_t *num_classes) override;
Dmanifest_op.cc286 Status ManifestOp::GetNumClasses(int64_t *num_classes) { in GetNumClasses() function in mindspore::dataset::ManifestOp
Dimage_folder_op.cc311 Status ImageFolderOp::GetNumClasses(int64_t *num_classes) { in GetNumClasses() function in mindspore::dataset::ImageFolderOp
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/consumer/
Dbindings.cc69 THROW_IF_ERROR(self.GetNumClasses(&num_classes)); in __anona1cf9bfd0602()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/consumers/
Dtree_consumer.h201 Status GetNumClasses(int64_t *num_classes);
Dtree_consumer.cc632 Status TreeGetters::GetNumClasses(int64_t *num_classes) { in GetNumClasses() function in mindspore::dataset::TreeGetters
637 RETURN_IF_NOT_OK(root->GetNumClasses(num_classes)); in GetNumClasses()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_reader.h289 int64_t GetNumClasses(const std::string &category_field);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/liteapi/include/
Ddatasets.h102 int64_t GetNumClasses();
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_reader.cc888 int64_t ShardReader::GetNumClasses(const std::string &category_field) { in GetNumClasses() function in mindspore::mindrecord::ShardReader
947 auto num_classes = GetNumClasses(category_field); in CountTotalRows()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc341 int64_t Dataset::GetNumClasses() { in GetNumClasses() function in mindspore::dataset::Dataset
352 RETURN_SECOND_IF_ERROR(consumer->GetNumClasses(&num_classes), -1); in GetNumClasses()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Ddatasets.h122 int64_t GetNumClasses();
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py1742 self._num_classes = runtime_getter[0].GetNumClasses()