Xresnet error comes

TypeError: xresnet() got multiple values for argument ‘expansion’

this error comes when i used when i used this code