Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Drandom_node.cc27 std::shared_ptr<DatasetNode> RandomNode::Copy() { in Copy()
28 std::shared_ptr<RandomNode> node; in Copy()
30 node = std::make_shared<RandomNode>(total_rows_, schema_, columns_list_, cache_); in Copy()
32 node = std::make_shared<RandomNode>(total_rows_, schema_path_, columns_list_, cache_); in Copy()
37 void RandomNode::Print(std::ostream &out) const { in Print()
42 Status RandomNode::ValidateParams() { in ValidateParams()
63 int32_t RandomNode::GenRandomInt(int32_t min, int32_t max) { in GenRandomInt()
69 Status RandomNode::Build(std::vector<std::shared_ptr<DatasetOp>> *const node_ops) { in Build()
116 Status RandomNode::GetShardId(int32_t *const shard_id) { in GetShardId()
123 Status RandomNode::GetDatasetSize(const std::shared_ptr<DatasetSizeGetter> &size_getter, bool estim… in GetDatasetSize()
[all …]
Drandom_node.h32 class RandomNode : public NonMappableSourceNode {
40RandomNode(const int32_t &total_rows, std::shared_ptr<SchemaObj> schema, const std::vector<std::st… in RandomNode() function
49RandomNode(const int32_t &total_rows, std::string schema_path, const std::vector<std::string> &col… in RandomNode() function
58 ~RandomNode() = default;
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() function
229 int node_index = RandomNode(&rng, &nodes); in TEST()
250 int from = RandomNode(&rng, &nodes); in TEST()
251 int to = RandomNode(&rng, &nodes); in TEST()
282 int from = RandomNode(&rng, &nodes); in TEST()
283 int to = RandomNode(&rng, &nodes); in TEST()
333 int node_index = RandomNode(&rng, &nodes); in TEST()
/third_party/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() function
229 int node_index = RandomNode(&rng, &nodes); in TEST()
250 int from = RandomNode(&rng, &nodes); in TEST()
251 int to = RandomNode(&rng, &nodes); in TEST()
282 int from = RandomNode(&rng, &nodes); in TEST()
283 int to = RandomNode(&rng, &nodes); in TEST()
333 int node_index = RandomNode(&rng, &nodes); in TEST()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc252 PYBIND_REGISTER(RandomNode, 2, ([](const py::module *m) { in __anon9c4d722b1f02()
253 … (void)py::class_<RandomNode, DatasetNode, std::shared_ptr<RandomNode>>(*m, "RandomNode", in __anon9c4d722b1f02()
257 … std::make_shared<RandomNode>(total_rows, schema, toStringVector(columns_list), nullptr); in __anon9c4d722b1f02()
263 … std::make_shared<RandomNode>(total_rows, schema, toStringVector(columns_list), nullptr); in __anon9c4d722b1f02()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/
Dpass.h67 class RandomNode; variable
195 virtual Status Visit(std::shared_ptr<RandomNode> node, bool *const modified);
196 virtual Status VisitAfter(std::shared_ptr<RandomNode> node, bool *const modified);
Dpass.cc210 Status IRNodePass::Visit(std::shared_ptr<RandomNode> node, bool *const modified) { in Visit()
213 Status IRNodePass::VisitAfter(std::shared_ptr<RandomNode> node, bool *const modified) { in VisitAfter()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Dcache_transform_pass.h76 Status Visit(std::shared_ptr<RandomNode> node, bool *const modified) override;
Dcache_transform_pass.cc100 Status CacheTransformPass::CachePass::Visit(std::shared_ptr<RandomNode> node, bool *const modified)… in Visit()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc1300 …auto ds = std::make_shared<RandomNode>(total_rows, std::move(schema), VectorCharToString(columns_l… in RandomDataDataset()
1307 …std::make_shared<RandomNode>(total_rows, CharToString(schema_path), VectorCharToString(columns_lis… in RandomDataDataset()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py4729 return cde.RandomNode(self.total_rows, schema, self.columns_list)