Open ShoufaChen opened 1 year ago
It seems that these lines are pointless.
Removing these lines has no effect no matter whetherself.norm is None or not.
self.norm
None
Besides, self.norm coundn't be None otherwise intermediate.append(self.norm(output)) would throw an error.
intermediate.append(self.norm(output))
It seems that these lines are pointless.
Removing these lines has no effect no matter whether
self.norm
isNone
or not.Besides,
self.norm
coundn't beNone
otherwiseintermediate.append(self.norm(output))
would throw an error.