Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
aidge_core
Commits
5460accb
Commit
5460accb
authored
1 month ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes
parent
a74fcf7c
No related branches found
No related tags found
1 merge request
!332
Add selection mechanism in graph
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/aidge/scheduler/Scheduler.hpp
+10
-10
10 additions, 10 deletions
include/aidge/scheduler/Scheduler.hpp
python_binding/scheduler/pybind_Scheduler.cpp
+1
-0
1 addition, 0 deletions
python_binding/scheduler/pybind_Scheduler.cpp
with
11 additions
and
10 deletions
include/aidge/scheduler/Scheduler.hpp
+
10
−
10
View file @
5460accb
...
@@ -135,16 +135,6 @@ public:
...
@@ -135,16 +135,6 @@ public:
*/
*/
void
tagConditionalNodes
()
const
;
void
tagConditionalNodes
()
const
;
/**
* @brief Check if the conditional node is required (if one of its conditions
* is true).
*
* @param node Node to check the condition.
* @return true If any node condition is true, meaning it has to be executed.
* @return false If all node conditions are false, meaning it can be skipped.
*/
bool
isConditionalNodeRequired
(
NodePtr
node
)
const
;
/**
/**
* @brief Get the static scheduling order of nodes.
* @brief Get the static scheduling order of nodes.
* @param step The step of the static schedule to retrieve (default is 0).
* @param step The step of the static schedule to retrieve (default is 0).
...
@@ -220,6 +210,16 @@ public:
...
@@ -220,6 +210,16 @@ public:
protected
:
protected
:
/**
* @brief Check if the conditional node is required (if one of its conditions
* is true).
*
* @param node Node to check the condition.
* @return true If any node condition is true, meaning it has to be executed.
* @return false If all node conditions are false, meaning it can be skipped.
*/
bool
isConditionalNodeRequired
(
NodePtr
node
)
const
;
/**
/**
* @brief Getter for the set of children Nodes of the given input Nodes.
* @brief Getter for the set of children Nodes of the given input Nodes.
* @param producers Set of Nodes for which we want to obtain the set of children Nodes.
* @param producers Set of Nodes for which we want to obtain the set of children Nodes.
...
...
This diff is collapsed.
Click to expand it.
python_binding/scheduler/pybind_Scheduler.cpp
+
1
−
0
View file @
5460accb
...
@@ -30,6 +30,7 @@ void init_Scheduler(py::module& m){
...
@@ -30,6 +30,7 @@ void init_Scheduler(py::module& m){
py
::
class_
<
Scheduler
,
std
::
shared_ptr
<
Scheduler
>>
(
m
,
"Scheduler"
)
py
::
class_
<
Scheduler
,
std
::
shared_ptr
<
Scheduler
>>
(
m
,
"Scheduler"
)
.
def
(
py
::
init
<
std
::
shared_ptr
<
GraphView
>&>
(),
py
::
arg
(
"graph_view"
))
.
def
(
py
::
init
<
std
::
shared_ptr
<
GraphView
>&>
(),
py
::
arg
(
"graph_view"
))
.
def
(
"graph_view"
,
&
Scheduler
::
graphView
)
.
def
(
"graph_view"
,
&
Scheduler
::
graphView
)
.
def
(
"tag_conditional_nodes"
,
&
Scheduler
::
tagConditionalNodes
)
.
def
(
"save_scheduling_diagram"
,
&
Scheduler
::
saveSchedulingDiagram
,
py
::
arg
(
"file_name"
))
.
def
(
"save_scheduling_diagram"
,
&
Scheduler
::
saveSchedulingDiagram
,
py
::
arg
(
"file_name"
))
.
def
(
"save_static_scheduling_diagram"
,
&
Scheduler
::
saveStaticSchedulingDiagram
,
py
::
arg
(
"file_name"
))
.
def
(
"save_static_scheduling_diagram"
,
&
Scheduler
::
saveStaticSchedulingDiagram
,
py
::
arg
(
"file_name"
))
.
def
(
"save_factorized_static_scheduling_diagram"
,
&
Scheduler
::
saveFactorizedStaticSchedulingDiagram
,
py
::
arg
(
"file_name"
),
py
::
arg
(
"min_repeat"
)
=
2
)
.
def
(
"save_factorized_static_scheduling_diagram"
,
&
Scheduler
::
saveFactorizedStaticSchedulingDiagram
,
py
::
arg
(
"file_name"
),
py
::
arg
(
"min_repeat"
)
=
2
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment