Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests cases to check that in eval mode params stays the same #19

Open
iKintosh opened this issue Aug 31, 2020 · 0 comments
Open

Add tests cases to check that in eval mode params stays the same #19

iKintosh opened this issue Aug 31, 2020 · 0 comments
Labels
test write or fix tests

Comments

@iKintosh
Copy link
Owner

self.theta = Parameter(
(math.pi / 8)
* torch.randint(0, 8, (out_channels, in_channels)).type(torch.Tensor),
requires_grad=True,
)
self.sigma = Parameter(math.pi / self.freq, requires_grad=True)
self.psi = Parameter(
math.pi * torch.rand(out_channels, in_channels), requires_grad=True
)

@iKintosh iKintosh added the test write or fix tests label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test write or fix tests
Projects
None yet
Development

No branches or pull requests

1 participant