Fix Python IndexError of case7: paddle.static.nn.spectral_norm (#49988)
* add dim check for spectral_norm * add unittest out of range for spectral_norm * use ValueError when dim out of range for spectral_norm * update dim limit and add unittest for spectral_norm
Showing
想要评论请 注册 或 登录