Home
last modified time | relevance | path

Searched refs:tree_adapter (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Dir_tree_adapter_test.cc53 mindspore::dataset::TreeAdapter tree_adapter; in TEST_F() local
55 Status rc = tree_adapter.Compile(ds->IRNode(), 1); in TEST_F()
60 EXPECT_EQ(tree_adapter.GetColumnNameMap(), map); in TEST_F()
66 rc = tree_adapter.GetNext(&row); in TEST_F()
71 rc = tree_adapter.GetNext(&row); in TEST_F()
88 mindspore::dataset::TreeAdapter tree_adapter; in TEST_F() local
90 Status rc = tree_adapter.Compile(ds->IRNode(), 2); in TEST_F()
93 const std::unordered_map<std::string, int32_t> map = tree_adapter.GetColumnNameMap(); in TEST_F()
94 EXPECT_EQ(tree_adapter.GetColumnNameMap(), map); in TEST_F()
100 rc = tree_adapter.GetNext(&row); in TEST_F()
[all …]
Dir_callback_test.cc343 TreeAdapter tree_adapter; in TEST_F() local
345 ASSERT_OK(tree_adapter.Compile(ds->IRNode(), 1)); in TEST_F()
348 ASSERT_OK(tree_adapter.GetNext(&row)); in TEST_F()
350 ASSERT_OK(tree_adapter.GetNext(&row)); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/consumers/
Dpython_tree_consumer.cc66 Status PythonDatasetSizeGetter::GetRow(const std::shared_ptr<TreeAdapter> &tree_adapter, TensorRow … in GetRow() argument
67 RETURN_UNEXPECTED_IF_NULL(tree_adapter); in GetRow()
70 return DatasetSizeGetter::GetRow(tree_adapter, r); in GetRow()
Dpull_based_tree_consumer.cc72 std::unique_ptr<TreeAdapter> tree_adapter = std::make_unique<TreeAdapter>(); in GetNextAsOrderedPair() local
84 for (const auto &itr : tree_adapter->GetColumnNameMap()) { in GetNextAsOrderedPair()
Dtree_consumer.cc717 …std::shared_ptr<TreeAdapter> tree_adapter = std::make_shared<TreeAdapter>(TreeAdapter::UsageFlag::… in DryRun() local
718 tree_adapters_.push_back(tree_adapter); in DryRun()
719 RETURN_IF_NOT_OK(tree_adapter->Compile(ir_node, 1)); in DryRun()
721 RETURN_IF_NOT_OK(GetRow(tree_adapter, &row)); in DryRun()
725 RETURN_IF_NOT_OK(GetRow(tree_adapter, &row)); in DryRun()
730 Status DatasetSizeGetter::GetRow(const std::shared_ptr<TreeAdapter> &tree_adapter, TensorRow *row) { in GetRow() argument
732 return tree_adapter->GetNext(row); in GetRow()
Dpython_tree_consumer.h67 Status GetRow(const std::shared_ptr<TreeAdapter> &tree_adapter, TensorRow *r) override;
Dtree_consumer.h235 virtual Status GetRow(const std::shared_ptr<TreeAdapter> &tree_adapter, TensorRow *row);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
DCMakeLists.txt23 tree_adapter.cc
/third_party/mindspore/mindspore/lite/minddata/
DCMakeLists.txt195 ${MINDDATA_DIR}/engine/tree_adapter.cc
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/
Ddependencies.txt1tree_adapter.cc", "mindspore/lite/build/_deps/jpeg_turbo-src/./jmorecfg.h", "mindspore/ccsrc/mindd…