Skip to content

Commit

Permalink
rm distribution uniform eager guard test (#48768)
Browse files Browse the repository at this point in the history
* rm distribution uniform eager guard test

* review
  • Loading branch information
yjjiang11 authored Dec 9, 2022
1 parent 3d1902d commit e729f16
Showing 1 changed file with 0 additions and 4 deletions.
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

0 comments on commit e729f16

Please # to comment.