Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/post/
Drepeat_pass.cc32 … : num_repeats_(1), num_epochs_(1), is_merge_(false), is_cached_(false), cache_lookup_(nullptr) {} in RepeatPass()
64 num_epochs_ = node->Count(); in Visit()
69 num_repeats_ *= num_epochs_; in Visit()
103 cache_lookup_->SetNumEpochs(num_epochs_); in VisitAfter()
111 node->SetNumEpochs(num_epochs_); in VisitAfter()
127 node->SetNumEpochs(num_epochs_); in VisitAfter()
144 node->SetNumEpochs(num_epochs_); in VisitAfter()
168 node->SetNumEpochs(num_epochs_); in VisitAfter()
180 cache_lookup_->SetNumEpochs(num_epochs_); in VisitAfter()
183 node->SetNumEpochs(num_epochs_); in VisitAfter()
[all …]
Drepeat_pass.h124 int32_t num_epochs_; // To save the total number of epochs variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Droot_node.cc33 num_epochs_ = 0; in RootNode()
38 node->SetNumEpochs(num_epochs_); in Copy()
54 if (num_epochs_ <= 0 && num_epochs_ != -1) { in ValidateParams()
56 …e: num_epochs should be either -1 or positive integer, num_epochs: " + std::to_string(num_epochs_); in ValidateParams()
Droot_node.h32 RootNode() : DatasetNode(), num_epochs_(0) {} in RootNode()
58 int32_t num_epochs() { return num_epochs_; } in num_epochs()
61 void SetNumEpochs(int32_t num_epochs) { num_epochs_ = num_epochs; } in SetNumEpochs()
80 int32_t num_epochs_;
Ddataset_node.h311 void SetNumEpochs(int32_t num_epochs) { num_epochs_ = num_epochs; } in SetNumEpochs()
319 int32_t GetNumEpochs() const { return num_epochs_; } in GetNumEpochs()
323 int32_t GetNumRepeatsPerEpoch() const { return total_repeats_ / num_epochs_; } in GetNumRepeatsPerEpoch()
334 int32_t num_epochs_; // Number of epochs variable
Ddataset_node.cc235 num_epochs_(1) {
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Depoch_ctrl_pass.h75 int32_t num_epochs() { return num_epochs_; } in num_epochs()
79 int32_t num_epochs_; variable
Depoch_ctrl_pass.cc28 : injection_point_(nullptr), num_epochs_(-1) {} in InjectionFinder()
38 num_epochs_ = node->num_epochs(); in Visit()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/consumers/
Dtree_consumer.h64 explicit IteratorConsumer(int32_t num_epochs = -1) : TreeConsumer(), num_epochs_(num_epochs) {} in TreeConsumer()
91 int32_t num_epochs_;
157 explicit ToDevice(int32_t num_epochs = -1) : TreeConsumer(), num_epochs_(num_epochs) {} in TreeConsumer()
187 int32_t num_epochs_;
Dtree_consumer.cc47 return tree_adapter_->Compile(std::move(d), num_epochs_); in Init()
151 …:Init(std::shared_ptr<DatasetNode> d) { return tree_adapter_->Compile(std::move(d), num_epochs_); } in Init()