Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Sqrt bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PINTO0309 committed Jun 1, 2022
1 parent d771048 commit 0b7b726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions openvino2tensorflow/openvino2tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5754,8 +5754,7 @@ def depth_to_space(x, block_size):
### Sqrt
elif layer.attrib['type'] == 'Sqrt':
inp = tf.math.sqrt(
tf_layers_dict[get_tf_edges_from(tf_edges, layer_id, 0)],
tf_layers_dict[get_tf_edges_from(tf_edges, layer_id, 1)]
tf_layers_dict[get_tf_edges_from(tf_edges, layer_id, 0)]
)
if wr_config and layer_id in wr_config and format_version >= 2:
if wr_config[layer_id]['replace_mode'] == 'insert_before':
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
setup(
name="openvino2tensorflow",
scripts=scripts,
version="1.31.2",
version="1.31.3",
description="This script converts the OpenVINO IR model to Tensorflow's saved_model, tflite, h5 and pb. in (NCHW) format",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 0b7b726

Please sign in to comment.