Replies: 1 comment
-
Would the following line generates a new random def _fourier_feature_forward(self, y, sigma):
b = torch.randn(y.size(1), self.layer_size[1] // 2) * sigma |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I tried to implement MsFFN using pytorch, but the result is not as expected. The following is my code.
I run an example as follows.
The result is
While I get the expected result when I using the tensorflow.compat.v1 backend.
Beta Was this translation helpful? Give feedback.
All reactions