diff --git a/tensorflow2fluid/src/paddle_emitter.py b/tensorflow2fluid/src/paddle_emitter.py index 571e4e7187bae50bfb3e509911ac967003ee0d83..01aff33920f8e858dd680ece6cb250ad3ca09389 100644 --- a/tensorflow2fluid/src/paddle_emitter.py +++ b/tensorflow2fluid/src/paddle_emitter.py @@ -666,9 +666,9 @@ class PaddleEmitter(object): k_shape = self.tensor_shape_to_list( kernel.get_attr("_output_shapes"))[0] - k_num, channel, k_h, k_w = k_shape + channel, k_num, k_h, k_w = k_shape if node.data_format == "NHWC": - k_h, k_w, channel, k_num = k_shape + k_h, k_w, k_num, channel = k_shape if strides[0] > k_h or strides[1] > k_w: raise Exception(