Skip to content

Commit

Permalink
add patch
Browse files Browse the repository at this point in the history
N/A

Signed-off-by: Luxuhui <[email protected]>
  • Loading branch information
lu229 committed Aug 13, 2019
1 parent 38b574a commit 221bbe4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions patch_order.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/mace/python/tools/converter_tool/tensorflow_converter.py b/mace/python/tools/converter_tool/tensorflow_converter.py
index 0b3661b..ecd6bf2 100644
--- a/mace/python/tools/converter_tool/tensorflow_converter.py
+++ b/mace/python/tools/converter_tool/tensorflow_converter.py
@@ -286,6 +286,8 @@ class TensorflowConverter(base_converter.ConverterInterface):
self._skip_tensor = set()
self._output_shape = {}

+ self.add_shape_info(tf_graph_def)
+
print("Run transform_graph: %s" % TFTransformGraphOptions)
try:
print("output keys: ", option.output_nodes.keys())
@@ -305,7 +307,6 @@ class TensorflowConverter(base_converter.ConverterInterface):
# as_text=False
# )

- self.add_shape_info(transformed_graph_def)

with tf.Session() as session:
with session.graph.as_default() as graph:
Binary file removed 海典乐盘HPD-H1_Andriod_安装文件_V3.3.00.apk
Binary file not shown.

0 comments on commit 221bbe4

Please sign in to comment.