Skip to content
Merged
Changes from 4 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
8 changes: 6 additions & 2 deletions test/legacy_test/test_paddlescience.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

os.environ["FLAGS_prim_vjp_skip_default_ops"] = "False"

import unittest

import paddle
from paddle import base, jit, nn
from paddle import jit, nn

base.core._set_prim_all_enabled(True)
paddle.core._set_prim_all_enabled(True)

x = paddle.randn([4, 1])
y = paddle.randn([4, 1])
Expand Down