Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
93dbaf3e
"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "358bdb1837d92126362a23c6414e7bf5f07d338b"
Unverified
Commit
93dbaf3e
authored
Jul 09, 2021
by
lin bin
Committed by
GitHub
Jul 09, 2021
Browse files
fix precision type (#3893)
parent
a4760ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nni/compression/pytorch/quantization_speedup/integrated_tensorrt.py
...ssion/pytorch/quantization_speedup/integrated_tensorrt.py
+1
-1
No files found.
nni/compression/pytorch/quantization_speedup/integrated_tensorrt.py
View file @
93dbaf3e
...
@@ -24,7 +24,7 @@ class CalibrateType:
...
@@ -24,7 +24,7 @@ class CalibrateType:
MINMAX
=
trt
.
CalibrationAlgoType
.
MINMAX_CALIBRATION
MINMAX
=
trt
.
CalibrationAlgoType
.
MINMAX_CALIBRATION
Precision_Dict
=
{
Precision_Dict
=
{
8
:
trt
.
float32
,
8
:
trt
.
int8
,
16
:
trt
.
float16
,
16
:
trt
.
float16
,
32
:
trt
.
float32
32
:
trt
.
float32
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment