You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code generates an error. I replaced np.array by torch.tensor and np.cumsum by torch.cumsum , and the code works.
I believe the code as it is has a bug, which was fixed with my change. Could you please confirm this? I am not sure how the code can work as is. thanks.
The text was updated successfully, but these errors were encountered:
Hi,
In layer.py, class
FeaturesEmbedding
, one finds the lineMy code generates an error. I replaced
np.array
bytorch.tensor
andnp.cumsum
bytorch.cumsum
, and the code works.I believe the code as it is has a bug, which was fixed with my change. Could you please confirm this? I am not sure how the code can work as is. thanks.
The text was updated successfully, but these errors were encountered: