Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moehanabi committed Nov 22, 2024
1 parent dcc58c0 commit 4e94706
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/ops/test_ops_torch_nn.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import unittest

os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
os.environ['TL_BACKEND'] = 'torch'

import numpy as np
import torch
import torch.nn.functional as F
Expand All @@ -11,8 +12,6 @@
from tensorlayerx.backend.ops.torch_nn import *
from tests.utils import CustomTestCase

os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"


class TestPaddingFormat(CustomTestCase):

Expand Down

0 comments on commit 4e94706

Please sign in to comment.