Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_export_cpp
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_export_cpp
Merge requests
!25
remove scm
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
remove scm
RemoveSCM
into
dev
Overview
0
Commits
2
Pipelines
4
Changes
10
Merged
Cyril Moineau
requested to merge
RemoveSCM
into
dev
6 months ago
Overview
0
Commits
2
Pipelines
4
Changes
10
Expand
Remove scm linked to
gitlab_shared_files#6
Add url to python package linked to
aidge#182 (closed)
Add a function to show version information
0
0
Merge request reports
Compare
dev
version 2
29a0fec1
5 months ago
version 1
e2da1823
6 months ago
dev (base)
and
latest version
latest version
d7d6330b
2 commits,
5 months ago
version 2
29a0fec1
1 commit,
5 months ago
version 1
e2da1823
1 commit,
6 months ago
10 files
+
53
−
233
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
aidge_export_cpp/utils/__init__.py deleted
100644 → 0
+
0
−
27
Options
from
pathlib
import
Path
import
os
# Constants
FILE
=
Path
(
__file__
).
resolve
()
ROOT
=
FILE
.
parents
[
1
]
OPERATORS_REGISTRY
=
{}
def
operator_register
(
*
args
):
key_list
=
[
arg
for
arg
in
args
]
def
decorator
(
operator
):
class
Wrapper
(
operator
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
return
operator
(
*
args
,
**
kwargs
)
for
key
in
key_list
:
OPERATORS_REGISTRY
[
key
]
=
operator
return
Wrapper
return
decorator
def
supported_operators
():
return
list
(
OPERATORS_REGISTRY
.
keys
())
Loading