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
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
Cyril Moineau
aidge_core
Commits
d895263f
Commit
d895263f
authored
1 year ago
by
Maxence Naud
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes: doc+optimization keywords
parent
ef99c24e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/aidge/operator/MetaOperator.hpp
+2
-2
2 additions, 2 deletions
include/aidge/operator/MetaOperator.hpp
include/aidge/operator/Operator.hpp
+6
-0
6 additions, 0 deletions
include/aidge/operator/Operator.hpp
with
8 additions
and
2 deletions
include/aidge/operator/MetaOperator.hpp
+
2
−
2
View file @
d895263f
...
@@ -46,11 +46,11 @@ public:
...
@@ -46,11 +46,11 @@ public:
return
std
::
make_shared
<
MetaOperator_Op
>
(
*
this
);
return
std
::
make_shared
<
MetaOperator_Op
>
(
*
this
);
}
}
const
std
::
shared_ptr
<
GraphView
>&
getMicroGraph
()
const
{
inline
const
std
::
shared_ptr
<
GraphView
>&
getMicroGraph
()
const
noexcept
{
return
mGraph
;
return
mGraph
;
}
}
const
std
::
shared_ptr
<
SequentialScheduler
>&
getMicroGraphScheduler
()
const
{
inline
const
std
::
shared_ptr
<
SequentialScheduler
>&
getMicroGraphScheduler
()
const
noexcept
{
return
mScheduler
;
return
mScheduler
;
}
}
...
...
This diff is collapsed.
Click to expand it.
include/aidge/operator/Operator.hpp
+
6
−
0
View file @
d895263f
...
@@ -73,12 +73,18 @@ public:
...
@@ -73,12 +73,18 @@ public:
public
:
public
:
virtual
std
::
shared_ptr
<
Operator
>
clone
()
const
=
0
;
virtual
std
::
shared_ptr
<
Operator
>
clone
()
const
=
0
;
/**
* @brief Set the specified input with a shallow copy.
* @param inputIdx Index of the input to set.
* @param data Data to copy.
*/
virtual
void
associateInput
(
const
IOIndex_t
inputIdx
,
const
std
::
shared_ptr
<
Data
>&
data
)
=
0
;
virtual
void
associateInput
(
const
IOIndex_t
inputIdx
,
const
std
::
shared_ptr
<
Data
>&
data
)
=
0
;
/**
/**
* @brief Set the specified input by performing a deep copy of the given data.
* @brief Set the specified input by performing a deep copy of the given data.
* The pointer itself is not changed, thus keeping the current connections.
* The pointer itself is not changed, thus keeping the current connections.
* @param inputIdx Index of the input to set.
* @param inputIdx Index of the input to set.
* @param data Data to copy.
*/
*/
virtual
void
setInput
(
const
IOIndex_t
inputIdx
,
const
std
::
shared_ptr
<
Data
>&
data
)
=
0
;
virtual
void
setInput
(
const
IOIndex_t
inputIdx
,
const
std
::
shared_ptr
<
Data
>&
data
)
=
0
;
virtual
void
setInput
(
const
IOIndex_t
inputIdx
,
std
::
shared_ptr
<
Data
>&&
data
)
=
0
;
virtual
void
setInput
(
const
IOIndex_t
inputIdx
,
std
::
shared_ptr
<
Data
>&&
data
)
=
0
;
...
...
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