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
ModelZoo
ResNet50_tensorflow
Commits
fc71d88d
Commit
fc71d88d
authored
Sep 13, 2022
by
Fan Yang
Committed by
A. Unique TensorFlower
Sep 13, 2022
Browse files
Internal change
PiperOrigin-RevId: 474160993
parent
40fd5c4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/vision/serving/export_tflite.py
official/vision/serving/export_tflite.py
+2
-0
No files found.
official/vision/serving/export_tflite.py
View file @
fc71d88d
...
@@ -104,6 +104,8 @@ def main(_) -> None:
...
@@ -104,6 +104,8 @@ def main(_) -> None:
if
_DENYLISTED_OPS
.
value
:
if
_DENYLISTED_OPS
.
value
:
denylisted_ops
=
list
(
_DENYLISTED_OPS
.
value
.
split
(
','
))
denylisted_ops
=
list
(
_DENYLISTED_OPS
.
value
.
split
(
','
))
else
:
denylisted_ops
=
None
tflite_model
=
export_tflite_lib
.
convert_tflite_model
(
tflite_model
=
export_tflite_lib
.
convert_tflite_model
(
saved_model_dir
=
_SAVED_MODEL_DIR
.
value
,
saved_model_dir
=
_SAVED_MODEL_DIR
.
value
,
quant_type
=
_QUANT_TYPE
.
value
,
quant_type
=
_QUANT_TYPE
.
value
,
...
...
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