huawei-noah / Pretrained-IPT

Apache License 2.0
434 stars 63 forks source link

inputs for position encoding #20

Open cmhungsteve opened 3 years ago

cmhungsteve commented 3 years ago

https://github.com/huawei-noah/Pretrained-IPT/blob/7a4da742eb25279a4171ce466707c0c128e7afc8/model/ipt.py#L185

It seems that x is not used in the forward function. Can we remove it?

Thanks.

HantingChen commented 2 years ago

Yes.