[Dy2stat] Fix Using Tuple for Transpose in Dy2stat (#28574)
PaddleSeg uses tuple as parameter of transpose in dygraph code: https://github.com/PaddlePaddle/PaddleSeg/blob/release/v0.7.0/dygraph/paddleseg/models/danet.py#L152 However, in dy2stat, static code doesn't support the perm as a tuple. This PR fixed it.
Showing
想要评论请 注册 或 登录