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

rm distribution uniform eager guard test #48768

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from paddle import fluid
from paddle.distribution import Uniform
from paddle.fluid import layers
from paddle.fluid.framework import _test_eager_guard

np.random.seed(2022)

Expand Down Expand Up @@ -146,9 +145,6 @@ def func_uniform_distribution_dygraph(self, sample_shape=7, tolerance=1e-6):
self.compare_with_numpy(fetch_list)

def test_uniform_distribution_dygraph(self):
with _test_eager_guard():
self.setUp()
self.func_uniform_distribution_dygraph()
self.setUp()
self.func_uniform_distribution_dygraph()

Expand Down