Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
b8f898a4
Commit
b8f898a4
authored
10 months ago
by
Julien Girard-Satabin
Browse files
Options
Downloads
Patches
Plain Diff
Clarified opset import and supported onnx versions
parent
0480aae4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/nir/node.mli
+1
-1
1 addition, 1 deletion
lib/nir/node.mli
lib/onnx/writer.ml
+1
-1
1 addition, 1 deletion
lib/onnx/writer.ml
with
2 additions
and
2 deletions
lib/nir/node.mli
+
1
−
1
View file @
b8f898a4
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
- a node description of type [descr]
- a node description of type [descr]
[descr] describes several operations. Most of them are direct transcription
[descr] describes several operations. Most of them are direct transcription
of the ONNX
v13
standard, which a description is available here:
of the ONNX
IR v8
standard, which a description is available here:
https://onnx.ai/onnx/operators/index.html.
https://onnx.ai/onnx/operators/index.html.
Nodes only require their inputs: it is assumed that a node only returns one
Nodes only require their inputs: it is assumed that a node only returns one
...
...
This diff is collapsed.
Click to expand it.
lib/onnx/writer.ml
+
1
−
1
View file @
b8f898a4
...
@@ -58,7 +58,7 @@ let convert_into_tensor ?name (t : Nir.Gentensor.t) =
...
@@ -58,7 +58,7 @@ let convert_into_tensor ?name (t : Nir.Gentensor.t) =
let
default_opset_import
=
let
default_opset_import
=
let
open
Oproto
.
Onnx
in
let
open
Oproto
.
Onnx
in
let
onnx_domain
=
""
in
let
onnx_domain
=
""
in
OperatorSetIdProto
.
make
~
domain
:
onnx_domain
~
version
:
8
L
()
OperatorSetIdProto
.
make
~
domain
:
onnx_domain
~
version
:
22
L
()
let
nier_simple_to_onnx_protoc
(
nier_simple
:
Nir
.
Ngraph
.
t
)
=
let
nier_simple_to_onnx_protoc
(
nier_simple
:
Nir
.
Ngraph
.
t
)
=
let
open
Oproto
.
Onnx
in
let
open
Oproto
.
Onnx
in
...
...
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