/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/ |
D | random_node.cc | 27 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 …]
|
D | random_node.h | 32 class RandomNode : public NonMappableSourceNode { 40 …RandomNode(const int32_t &total_rows, std::shared_ptr<SchemaObj> schema, const std::vector<std::st… in RandomNode() function 49 …RandomNode(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/ |
D | graphcycles_test.cc | 169 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/ |
D | graphcycles_test.cc | 169 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/ |
D | bindings.cc | 252 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/ |
D | pass.h | 67 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);
|
D | pass.cc | 210 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/ |
D | cache_transform_pass.h | 76 Status Visit(std::shared_ptr<RandomNode> node, bool *const modified) override;
|
D | cache_transform_pass.cc | 100 Status CacheTransformPass::CachePass::Visit(std::shared_ptr<RandomNode> node, bool *const modified)… in Visit()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | datasets.cc | 1300 …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/ |
D | datasets.py | 4729 return cde.RandomNode(self.total_rows, schema, self.columns_list)
|