Home
last modified time | relevance | path

Searched refs:IRNode (Results 1 – 25 of 25) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Doptimization_pass_test.cc51 EXPECT_EQ(map_leaf->IRNode()->NumWorkers(), 0); in TEST_F()
52 EXPECT_EQ(nonmap_leaf->IRNode()->NumWorkers(), 0); in TEST_F()
53 EXPECT_EQ(batch->IRNode()->NumWorkers(), 0); in TEST_F()
54 EXPECT_EQ(map->IRNode()->NumWorkers(), 0); in TEST_F()
58 ASSERT_OK(pass->Run(map->IRNode(), &m)); in TEST_F()
63 EXPECT_NE(map_leaf->IRNode()->NumWorkers(), 0); in TEST_F()
64 EXPECT_NE(nonmap_leaf->IRNode()->NumWorkers(), 0); in TEST_F()
65 EXPECT_NE(batch->IRNode()->NumWorkers(), 0); in TEST_F()
66 EXPECT_NE(map->IRNode()->NumWorkers(), 0); in TEST_F()
67 …MS_LOG(DEBUG) << map_leaf->IRNode()->Name() << ": num_worker=" << map_leaf->IRNode()->NumWorkers(); in TEST_F()
[all …]
Dtree_modifying_function_test.cc59 std::shared_ptr<DatasetNode> root = ds4->IRNode(); in TEST_F()
66 std::shared_ptr<DatasetNode> node_to_insert = ds6->IRNode(); in TEST_F()
114 std::shared_ptr<DatasetNode> root = ds4->IRNode(); in TEST_F()
123 std::shared_ptr<DatasetNode> ds6_to_insert = ds6->IRNode(); in TEST_F()
136 ds6_to_insert = ds6->IRNode(); in TEST_F()
149 ds6_to_insert = ds6->IRNode(); in TEST_F()
174 std::shared_ptr<DatasetNode> root = ds4->IRNode(); in TEST_F()
183 std::shared_ptr<DatasetNode> ds6_to_insert = ds6->IRNode(); in TEST_F()
197 ds6_to_insert = ds6->IRNode(); in TEST_F()
255 std::shared_ptr<DatasetNode> root = ds4->IRNode(); in TEST_F()
[all …]
Dir_tree_adapter_test.cc55 Status rc = tree_adapter.Compile(ds->IRNode(), 1); in TEST_F()
90 Status rc = tree_adapter.Compile(ds->IRNode(), 2); in TEST_F()
127 Status rc = tree_adapter.Compile(ds->IRNode(), 2); in TEST_F()
Dir_tensor_op_fusion_pass_test.cc46 std::shared_ptr<DatasetNode> node = ds->IRNode(); in TEST_F()
77 std::shared_ptr<DatasetNode> node = ds->IRNode(); in TEST_F()
Dir_callback_test.cc345 ASSERT_OK(tree_adapter.Compile(ds->IRNode(), 1)); in TEST_F()
Dc_api_dataset_ops_test.cc1908 ASSERT_OK(ds->SetNumWorkers(cpu_core_cnt)->IRNode()->ValidateParams()); in TEST_F()
1909 ASSERT_OK(ds->SetNumWorkers(1)->IRNode()->ValidateParams()); in TEST_F()
/third_party/skia/include/private/
DSkSLIRNode.h40 class IRNode : public Poolable {
42 virtual ~IRNode() {} in ~IRNode()
47 IRNode(const IRNode&) = delete;
48 IRNode& operator=(const IRNode&) = delete;
54 IRNode(int line, int kind) in IRNode() function
DSkSLProgramElement.h20 class ProgramElement : public IRNode {
72 using INHERITED = IRNode;
DSkSLStatement.h19 class Statement : public IRNode {
82 using INHERITED = IRNode;
DSkSLSymbol.h19 class Symbol : public IRNode {
84 using INHERITED = IRNode;
/third_party/flutter/skia/src/sksl/ir/
DSkSLIRNode.h20 struct IRNode { struct
21 IRNode(int offset) in IRNode() function
24 virtual ~IRNode() {} in ~IRNode() argument
DSkSLSymbolTable.h42 IRNode* takeOwnership(std::unique_ptr<IRNode> n);
57 std::vector<std::unique_ptr<IRNode>> fOwnedNodes;
DSkSLProgramElement.h20 struct ProgramElement : public IRNode {
39 typedef IRNode INHERITED;
DSkSLSymbol.h18 struct Symbol : public IRNode {
38 typedef IRNode INHERITED;
DSkSLStatement.h19 struct Statement : public IRNode {
50 typedef IRNode INHERITED;
DSkSLSymbolTable.cpp69 IRNode* SymbolTable::takeOwnership(std::unique_ptr<IRNode> n) { in takeOwnership()
70 IRNode* result = n.get(); in takeOwnership()
DSkSLExpression.h26 struct Expression : public IRNode {
145 typedef IRNode INHERITED;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc207 …std::make_shared<TransferNode>(shared_from_this()->IRNode(), CharToString(queue_name), CharToStrin… in DeviceQueueCharIF()
259 rc = consumer->Init(ds->IRNode()); in SaveCharIF()
299 RETURN_SECOND_IF_ERROR(consumer->Init(this->IRNode()), -1); in GetDatasetSize()
314 RETURN_SECOND_IF_ERROR(consumer->Init(this->IRNode()), {}); in GetOutputTypes()
333 RETURN_SECOND_IF_ERROR(consumer->Init(this->IRNode()), {}); in GetOutputShapes()
351 RETURN_SECOND_IF_ERROR(consumer->Init(this->IRNode()), -1); in GetNumClasses()
366 RETURN_SECOND_IF_ERROR(consumer->Init(this->IRNode()), {}); in GetColumnNamesCharIF()
381 RETURN_SECOND_IF_ERROR(consumer->Init(this->IRNode()), {}); in GetClassIndexingCharIF()
400 auto ds = std::make_shared<BatchNode>(input->IRNode(), batch_size, drop_remainder); in BatchDataset()
431 …auto ds = std::make_shared<BucketBatchByLengthNode>(input->IRNode(), VectorCharToString(column_nam… in BucketBatchByLengthDataset()
[all …]
Diterator.cc86 RETURN_IF_NOT_OK(consumer->Init(ds->IRNode())); in BuildAndLaunchTree()
143 RETURN_IF_NOT_OK(pull_consumer_->Init(std::move(ds->IRNode()))); in BuildAndLaunchTree()
/third_party/skia/src/sksl/ir/
DSkSLExpression.h28 class Expression : public IRNode {
212 using INHERITED = IRNode;
DSkSLSymbolTable.h166 std::vector<std::unique_ptr<IRNode>> fOwnedNodes;
/third_party/skia/src/sksl/
DSkSLCompiler.h105 std::unordered_set<const IRNode*> fSilences;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/liteapi/include/
Ddatasets.h287 std::shared_ptr<DatasetNode> IRNode() { return ir_node_; } in IRNode() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Ddatasets.h447 std::shared_ptr<DatasetNode> IRNode() { return ir_node_; } in IRNode() function
/third_party/skia/tests/
DSkSLDSLTest.cpp138 static SkSL::String stringize(SkSL::IRNode& node) { return node.description(); } in stringize()