forked from PaddlePaddle/PaddleTest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
152 additions
and
1 deletion.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/blenderbot/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.blenderbot." + module_name, globals(), locals(), []) |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/ernie/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.ernie." + module_name, globals(), locals(), []) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/fnet/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.fnet." + module_name, globals(), locals(), []) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/luke/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.luke." + module_name, globals(), locals(), []) |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/mbart/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.mbart." + module_name, globals(), locals(), []) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/mpnet/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.mpnet." + module_name, globals(), locals(), []) |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/skep/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.skep." + module_name, globals(), locals(), []) |
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
...e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/unified_transformer/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.unified_transformer." + module_name, globals(), locals(), []) |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/unimo/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.unimo." + module_name, globals(), locals(), []) |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
framework/e2e/PaddleLT_new/layerNLPcase/debug/case_bug/transformers/xlm/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import os | ||
import glob | ||
|
||
# 获取当前文件所在目录 | ||
current_dir = os.path.dirname(__file__) | ||
|
||
# 获取当前目录下所有的 .py 文件路径 | ||
py_files = glob.glob(os.path.join(current_dir, "*.py")) | ||
|
||
# 动态导入所有 .py 文件 | ||
for py_file in py_files: | ||
# 获取文件名(不含扩展名) | ||
module_name = os.path.basename(py_file)[:-3] | ||
# 导入模块 | ||
__import__("layerNLPcase.debug.case_bug.transformers.xlm." + module_name, globals(), locals(), []) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters