未验证 提交 5e29f30c 编写于 作者: L liulinduo 提交者: GitHub

[Test Mv] remove rnn (#52967)

* [Test Mv] remove rnn

* Update test_rnn_cell_api.py
上级 be04f258
......@@ -769,7 +769,6 @@ if(NOT WIN32)
endif()
add_subdirectory(sequence)
add_subdirectory(rnn)
add_subdirectory(distribution)
# dist xpu tests:
......
......@@ -22,7 +22,7 @@ from eager_op_test import OpTest
import paddle
from paddle.fluid import core
sys.path.append("./rnn")
sys.path.append("../../../../../test/rnn")
from convert import get_params_for_net
from rnn_numpy import GRU
......
......@@ -12,12 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import unittest
import numpy
import numpy as np
from rnn.rnn_numpy import LSTMCell
from rnn.rnn_numpy import rnn as numpy_rnn
sys.path.append("../../../../../test/rnn")
from rnn_numpy import LSTMCell
from rnn_numpy import rnn as numpy_rnn
import paddle
from paddle import fluid
......
......@@ -22,7 +22,7 @@ from eager_op_test import OpTest
import paddle
from paddle.fluid import core
sys.path.append("./rnn")
sys.path.append("../../../../../test/rnn")
from convert import get_params_for_net
from rnn_numpy import LSTM
......
......@@ -22,9 +22,9 @@ from eager_op_test import OpTest
import paddle
from paddle.fluid import core
sys.path.append("./rnn")
from rnn.convert import get_params_for_net
from rnn.rnn_numpy import SimpleRNN
sys.path.append("../../../../../test/rnn")
from convert import get_params_for_net
from rnn_numpy import SimpleRNN
random.seed(2)
np.set_printoptions(threshold=np.inf)
......
......@@ -122,7 +122,7 @@ if(WITH_TESTING)
add_subdirectory(prim)
# add_subdirectory(ps)
add_subdirectory(quantization)
# add_subdirectory(rnn)
add_subdirectory(rnn)
add_subdirectory(rpc)
# add_subdirectory(sequence)
add_subdirectory(standalone_executor)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册