提交 c442b87c 编写于 作者: W wjj19950828

fixed float64 bug

上级 1256f60f
......@@ -198,6 +198,10 @@ class ONNXConverter(object):
paddle_tensor_feed.append(
paddle.to_tensor(self.input_feed[self.inputs_name[i]]))
## PaddleInference not support float64
if "float64" in self.inputs_dtype:
self.run_dynamic = True
if self.run_dynamic:
paddle_path = os.path.join(self.pwd, self.name,
self.name + '_' + str(ver) + '_paddle/')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册