From bb7a8c595b206459b372a30a2301b00896928fef Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Fri, 21 Feb 2025 14:48:44 +0100 Subject: [PATCH] Renaming --- src/PTQ/PTQ.cpp | 2 +- src/QAT/QAT_FixedQ.cpp | 2 +- unit_tests/Test_QuantPTQ.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PTQ/PTQ.cpp b/src/PTQ/PTQ.cpp index f03fc7b..96bfbd9 100644 --- a/src/PTQ/PTQ.cpp +++ b/src/PTQ/PTQ.cpp @@ -264,7 +264,7 @@ std::vector<std::shared_ptr<Node>> retrieveNodeVector(std::shared_ptr<GraphView> scheduler.generateScheduling(); // old way : scheduler.forward(); } - nodeVector = scheduler.getStaticScheduling(); + nodeVector = scheduler.getSequentialStaticScheduling(); fixScheduling(nodeVector); nodeVector = removeMatchingNodes(nodeVector, "Producer"); diff --git a/src/QAT/QAT_FixedQ.cpp b/src/QAT/QAT_FixedQ.cpp index 6ada532..c182d6c 100644 --- a/src/QAT/QAT_FixedQ.cpp +++ b/src/QAT/QAT_FixedQ.cpp @@ -154,7 +154,7 @@ void QuantFixedQ::devQAT(std::shared_ptr<GraphView> graphView) { SequentialScheduler scheduler(graphView); scheduler.generateScheduling(); - auto s = scheduler.getStaticScheduling(); + auto s = scheduler.getSequentialStaticScheduling(); for (std::shared_ptr<Node> node : s) Log::info(" name : {} ", node->name()); } diff --git a/unit_tests/Test_QuantPTQ.cpp b/unit_tests/Test_QuantPTQ.cpp index e7211ce..018b111 100644 --- a/unit_tests/Test_QuantPTQ.cpp +++ b/unit_tests/Test_QuantPTQ.cpp @@ -200,7 +200,7 @@ TEST_CASE("[tmp] basic test") { // //no need to do this anymore, forward does it autimatically now ... // //scheduler.generateScheduling(true); -// std::vector<std::shared_ptr<Node>> ordered_graph_view = scheduler.getStaticScheduling(); +// std::vector<std::shared_ptr<Node>> ordered_graph_view = scheduler.getSequentialStaticScheduling(); // printf("Going to quantize network :\n"); @@ -226,7 +226,7 @@ TEST_CASE("[tmp] basic test") { // scheduler_v2.forward(); // scheduler_v2.generateScheduling(false); -// std::vector<std::shared_ptr<Node>> ordered_graph_view_v2 = scheduler_v2.getStaticScheduling(); +// std::vector<std::shared_ptr<Node>> ordered_graph_view_v2 = scheduler_v2.getSequentialStaticScheduling(); // if(verbose) { // printf("Ordered graph after quantization :\n"); -- GitLab