Home
last modified time | relevance | path

Searched refs:EpochCtrlNode (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Depoch_ctrl_node.cc31 EpochCtrlNode::EpochCtrlNode(std::shared_ptr<DatasetNode> child, int32_t num_epochs) : RepeatNode()… in EpochCtrlNode() function in mindspore::dataset::EpochCtrlNode
37 std::shared_ptr<DatasetNode> EpochCtrlNode::Copy() { in Copy()
38 auto node = std::make_shared<EpochCtrlNode>(repeat_count_); in Copy()
42 void EpochCtrlNode::Print(std::ostream &out) const { in Print()
47 Status EpochCtrlNode::Build(std::vector<std::shared_ptr<DatasetOp>> *const node_ops) { in Build()
57 Status EpochCtrlNode::ValidateParams() { in ValidateParams()
74 Status EpochCtrlNode::Accept(IRNodePass *const p, bool *const modified) { in Accept()
76 return p->Visit(shared_from_base<EpochCtrlNode>(), modified); in Accept()
80 Status EpochCtrlNode::AcceptAfter(IRNodePass *const p, bool *const modified) { in AcceptAfter()
82 return p->VisitAfter(shared_from_base<EpochCtrlNode>(), modified); in AcceptAfter()
Depoch_ctrl_node.h31 class EpochCtrlNode : public RepeatNode {
37 explicit EpochCtrlNode(int32_t num_epochs) : RepeatNode() { repeat_count_ = num_epochs; } in EpochCtrlNode() function
40 EpochCtrlNode(std::shared_ptr<DatasetNode> child, int32_t num_epochs);
43 ~EpochCtrlNode() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/post/
Dgenerator_node_pass.h49 Status Visit(std::shared_ptr<EpochCtrlNode> node, bool *const modified) override;
67 Status VisitAfter(std::shared_ptr<EpochCtrlNode> node, bool *const modified) override;
Dgenerator_node_pass.cc55 Status GeneratorNodePass::Visit(std::shared_ptr<EpochCtrlNode> node, bool *const modified) { in Visit()
99 Status GeneratorNodePass::VisitAfter(std::shared_ptr<EpochCtrlNode> node, bool *const modified) { in VisitAfter()
Drepeat_pass.h50 Status Visit(std::shared_ptr<EpochCtrlNode> node, bool *const modified) override;
76 Status VisitAfter(std::shared_ptr<EpochCtrlNode> node, bool *const modified) override;
Drepeat_pass.cc60 Status RepeatPass::Visit(std::shared_ptr<EpochCtrlNode> node, bool *const modified) { in Visit()
122 Status RepeatPass::VisitAfter(std::shared_ptr<EpochCtrlNode> node, bool *const modified) { in VisitAfter()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/
Dpass.h39 class EpochCtrlNode; variable
179 virtual Status Visit(std::shared_ptr<EpochCtrlNode> node, bool *const modified);
180 virtual Status VisitAfter(std::shared_ptr<EpochCtrlNode> node, bool *const modified);
Dpass.cc170 Status IRNodePass::Visit(std::shared_ptr<EpochCtrlNode> node, bool *const modified) { in Visit()
173 Status IRNodePass::VisitAfter(std::shared_ptr<EpochCtrlNode> node, bool *const modified) { in VisitAfter()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Depoch_ctrl_pass.cc90 auto epoch_ctrl_node = std::make_shared<EpochCtrlNode>(num_epochs); in RunOnTree()