Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
5e29f30c
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
5e29f30c
编写于
4月 17, 2023
作者:
L
liulinduo
提交者:
GitHub
4月 17, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[Test Mv] remove rnn (#52967)
* [Test Mv] remove rnn * Update test_rnn_cell_api.py
上级
be04f258
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
11 addition
and
9 deletion
+11
-9
python/paddle/fluid/tests/unittests/CMakeLists.txt
python/paddle/fluid/tests/unittests/CMakeLists.txt
+0
-1
python/paddle/fluid/tests/unittests/test_gru_rnn_op.py
python/paddle/fluid/tests/unittests/test_gru_rnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_rnn_cell_api.py
python/paddle/fluid/tests/unittests/test_rnn_cell_api.py
+5
-2
python/paddle/fluid/tests/unittests/test_rnn_op.py
python/paddle/fluid/tests/unittests/test_rnn_op.py
+1
-1
python/paddle/fluid/tests/unittests/test_simple_rnn_op.py
python/paddle/fluid/tests/unittests/test_simple_rnn_op.py
+3
-3
test/CMakeLists.txt
test/CMakeLists.txt
+1
-1
test/rnn/CMakeLists.txt
test/rnn/CMakeLists.txt
+0
-0
test/rnn/__init__.py
test/rnn/__init__.py
+0
-0
test/rnn/convert.py
test/rnn/convert.py
+0
-0
test/rnn/rnn_numpy.py
test/rnn/rnn_numpy.py
+0
-0
test/rnn/test_rnn_api.py
test/rnn/test_rnn_api.py
+0
-0
test/rnn/test_rnn_cells.py
test/rnn/test_rnn_cells.py
+0
-0
test/rnn/test_rnn_cells_static.py
test/rnn/test_rnn_cells_static.py
+0
-0
test/rnn/test_rnn_cudnn_params_packing.py
test/rnn/test_rnn_cudnn_params_packing.py
+0
-0
test/rnn/test_rnn_nets.py
test/rnn/test_rnn_nets.py
+0
-0
test/rnn/test_rnn_nets_static.py
test/rnn/test_rnn_nets_static.py
+0
-0
test/rnn/test_wrappers.py
test/rnn/test_wrappers.py
+0
-0
未找到文件。
python/paddle/fluid/tests/unittests/CMakeLists.txt
浏览文件 @
5e29f30c
...
@@ -769,7 +769,6 @@ if(NOT WIN32)
...
@@ -769,7 +769,6 @@ if(NOT WIN32)
endif
()
endif
()
add_subdirectory
(
sequence
)
add_subdirectory
(
sequence
)
add_subdirectory
(
rnn
)
add_subdirectory
(
distribution
)
add_subdirectory
(
distribution
)
# dist xpu tests:
# dist xpu tests:
...
...
python/paddle/fluid/tests/unittests/test_gru_rnn_op.py
浏览文件 @
5e29f30c
...
@@ -22,7 +22,7 @@ from eager_op_test import OpTest
...
@@ -22,7 +22,7 @@ from eager_op_test import OpTest
import
paddle
import
paddle
from
paddle.fluid
import
core
from
paddle.fluid
import
core
sys
.
path
.
append
(
"./rnn"
)
sys
.
path
.
append
(
".
./../../../../test
/rnn"
)
from
convert
import
get_params_for_net
from
convert
import
get_params_for_net
from
rnn_numpy
import
GRU
from
rnn_numpy
import
GRU
...
...
python/paddle/fluid/tests/unittests/test_rnn_cell_api.py
浏览文件 @
5e29f30c
...
@@ -12,12 +12,15 @@
...
@@ -12,12 +12,15 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import
sys
import
unittest
import
unittest
import
numpy
import
numpy
import
numpy
as
np
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
import
paddle
from
paddle
import
fluid
from
paddle
import
fluid
...
...
python/paddle/fluid/tests/unittests/test_rnn_op.py
浏览文件 @
5e29f30c
...
@@ -22,7 +22,7 @@ from eager_op_test import OpTest
...
@@ -22,7 +22,7 @@ from eager_op_test import OpTest
import
paddle
import
paddle
from
paddle.fluid
import
core
from
paddle.fluid
import
core
sys
.
path
.
append
(
"./rnn"
)
sys
.
path
.
append
(
".
./../../../../test
/rnn"
)
from
convert
import
get_params_for_net
from
convert
import
get_params_for_net
from
rnn_numpy
import
LSTM
from
rnn_numpy
import
LSTM
...
...
python/paddle/fluid/tests/unittests/test_simple_rnn_op.py
浏览文件 @
5e29f30c
...
@@ -22,9 +22,9 @@ from eager_op_test import OpTest
...
@@ -22,9 +22,9 @@ from eager_op_test import OpTest
import
paddle
import
paddle
from
paddle.fluid
import
core
from
paddle.fluid
import
core
sys
.
path
.
append
(
"./rnn"
)
sys
.
path
.
append
(
".
./../../../../test
/rnn"
)
from
rnn.
convert
import
get_params_for_net
from
convert
import
get_params_for_net
from
rnn
.rnn
_numpy
import
SimpleRNN
from
rnn_numpy
import
SimpleRNN
random
.
seed
(
2
)
random
.
seed
(
2
)
np
.
set_printoptions
(
threshold
=
np
.
inf
)
np
.
set_printoptions
(
threshold
=
np
.
inf
)
...
...
test/CMakeLists.txt
浏览文件 @
5e29f30c
...
@@ -122,7 +122,7 @@ if(WITH_TESTING)
...
@@ -122,7 +122,7 @@ if(WITH_TESTING)
add_subdirectory
(
prim
)
add_subdirectory
(
prim
)
# add_subdirectory(ps)
# add_subdirectory(ps)
add_subdirectory
(
quantization
)
add_subdirectory
(
quantization
)
#
add_subdirectory(rnn)
add_subdirectory
(
rnn
)
add_subdirectory
(
rpc
)
add_subdirectory
(
rpc
)
# add_subdirectory(sequence)
# add_subdirectory(sequence)
add_subdirectory
(
standalone_executor
)
add_subdirectory
(
standalone_executor
)
...
...
python/paddle/fluid/tests/unittests
/rnn/CMakeLists.txt
→
test
/rnn/CMakeLists.txt
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/__init__.py
→
test
/rnn/__init__.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/convert.py
→
test
/rnn/convert.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/rnn_numpy.py
→
test
/rnn/rnn_numpy.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_rnn_api.py
→
test
/rnn/test_rnn_api.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_rnn_cells.py
→
test
/rnn/test_rnn_cells.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_rnn_cells_static.py
→
test
/rnn/test_rnn_cells_static.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_rnn_cudnn_params_packing.py
→
test
/rnn/test_rnn_cudnn_params_packing.py
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_rnn_nets.py
→
test
/rnn/test_rnn_nets.py
100755 → 100644
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_rnn_nets_static.py
→
test
/rnn/test_rnn_nets_static.py
100755 → 100644
浏览文件 @
5e29f30c
文件已移动
python/paddle/fluid/tests/unittests
/rnn/test_wrappers.py
→
test
/rnn/test_wrappers.py
100755 → 100644
浏览文件 @
5e29f30c
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录