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
ecfa861c
Commit
ecfa861c
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Fixed review comments
parent
1b8b0296
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!105
version 0.2.0
,
!77
Support for recurrent networks
Pipeline
#40040
passed
1 year ago
Stage: static_analysis
Stage: build
Stage: test
Stage: coverage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/aidge/graph/GraphView.hpp
+9
-0
9 additions, 0 deletions
include/aidge/graph/GraphView.hpp
python_binding/operator/pybind_MetaOperatorDefs.cpp
+1
-8
1 addition, 8 deletions
python_binding/operator/pybind_MetaOperatorDefs.cpp
with
10 additions
and
8 deletions
include/aidge/graph/GraphView.hpp
+
9
−
0
View file @
ecfa861c
...
...
@@ -273,6 +273,15 @@ public:
/**
* Get the ranked list of nodes in the GraphView.
* Node ranking if performed the following:
* - The root node is put in the ranked list first (rank 1);
* - Then, its childs (in order of outputs) are added in the ranked list;
* - Then, its parents (in order of inputs) are added in the ranked list;
* - The childs and parents of the next node in the ranked list are then
* added to the list, and so on.
* - Any remaining nodes have no path to the root node and are added in
* arbitrary order. In this case, the ranking is not garanteed to be unique.
*
* If the ranking cannot be garanteed to be unique, the second item indicates
* the rank from which unicity cannot be garanteed.
* @return std::pair<std::vector<NodePtr>, size_t> Pair with the list of ranked
...
...
This diff is collapsed.
Click to expand it.
python_binding/operator/pybind_MetaOperatorDefs.cpp
+
1
−
8
View file @
ecfa861c
...
...
@@ -109,14 +109,7 @@ template <DimIdx_t DIM> void declare_PaddedMaxPoolingOp(py::module &m) {
}
void
declare_LSTMOp
(
py
::
module
&
m
)
{
m
.
def
(
"LSTM"
,
[](
DimSize_t
in_channels
,
DimSize_t
hidden_channels
,
DimSize_t
seq_length
,
bool
nobias
,
const
std
::
string
&
name
)
{
return
LSTM
(
in_channels
,
hidden_channels
,
seq_length
,
nobias
,
name
);
},
py
::
arg
(
"in_channels"
),
m
.
def
(
"LSTM"
,
&
LSTM
,
py
::
arg
(
"in_channels"
),
py
::
arg
(
"hidden_channels"
),
py
::
arg
(
"seq_length"
),
py
::
arg
(
"nobias"
)
=
false
,
...
...
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