From b099fd71efb77a303302144c05162d2ab13d02c3 Mon Sep 17 00:00:00 2001 From: Channingss Date: Mon, 20 Jul 2020 03:03:13 +0000 Subject: [PATCH] deletec comment --- x2paddle/op_mapper/onnx2paddle/opset9/opset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x2paddle/op_mapper/onnx2paddle/opset9/opset.py b/x2paddle/op_mapper/onnx2paddle/opset9/opset.py index 86b1be3..e1ebdf2 100644 --- a/x2paddle/op_mapper/onnx2paddle/opset9/opset.py +++ b/x2paddle/op_mapper/onnx2paddle/opset9/opset.py @@ -1380,8 +1380,8 @@ class OpSet9(): node, idx=5 - miss_arg_num, copy=True) x_shape = val_x.out_shapes[0] - print(x_shape) - #assert x_shape[1] == 1, 'only X with batch_size = 1 supported' + + assert x_shape[1] == 1, 'only X with batch_size = 1 supported' assert node.get_attr('clip', None) is None, 'clipping not supported' hidden_size = node.get_attr('hidden_size', None) -- GitLab