Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
715b9d66
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
715b9d66
编写于
10月 10, 2022
作者:
S
Shuangchi He
提交者:
GitHub
10月 10, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CodeStyle] remove all future import. (#46736)
上级
f8830754
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
1 addition
and
9 deletion
+1
-9
python/paddle/fluid/contrib/slim/tests/test_imperative_qat_lsq.py
...addle/fluid/contrib/slim/tests/test_imperative_qat_lsq.py
+0
-2
python/paddle/fluid/tests/unittests/mkldnn/test_fc_int8_mkldnn_op.py
...le/fluid/tests/unittests/mkldnn/test_fc_int8_mkldnn_op.py
+0
-2
python/paddle/fluid/tests/unittests/mlu/test_huber_loss_op_mlu.py
...addle/fluid/tests/unittests/mlu/test_huber_loss_op_mlu.py
+0
-2
python/paddle/fluid/tests/unittests/mlu/test_yolo_box_op_mlu.py
.../paddle/fluid/tests/unittests/mlu/test_yolo_box_op_mlu.py
+0
-1
python/paddle/fluid/tests/unittests/xpu/test_index_select_op_xpu.py
...dle/fluid/tests/unittests/xpu/test_index_select_op_xpu.py
+0
-1
python/setup.py.in
python/setup.py.in
+1
-1
未找到文件。
python/paddle/fluid/contrib/slim/tests/test_imperative_qat_lsq.py
浏览文件 @
715b9d66
...
@@ -12,8 +12,6 @@
...
@@ -12,8 +12,6 @@
# 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.
from
__future__
import
print_function
import
os
import
os
import
numpy
as
np
import
numpy
as
np
import
random
import
random
...
...
python/paddle/fluid/tests/unittests/mkldnn/test_fc_int8_mkldnn_op.py
浏览文件 @
715b9d66
...
@@ -12,8 +12,6 @@
...
@@ -12,8 +12,6 @@
# 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.
from
__future__
import
print_function
import
unittest
import
unittest
import
numpy
as
np
import
numpy
as
np
from
paddle.fluid.tests.unittests.op_test
import
OpTest
,
OpTestTool
from
paddle.fluid.tests.unittests.op_test
import
OpTest
,
OpTestTool
...
...
python/paddle/fluid/tests/unittests/mlu/test_huber_loss_op_mlu.py
浏览文件 @
715b9d66
...
@@ -12,8 +12,6 @@
...
@@ -12,8 +12,6 @@
# 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.
from
__future__
import
print_function
import
unittest
import
unittest
import
numpy
as
np
import
numpy
as
np
import
sys
import
sys
...
...
python/paddle/fluid/tests/unittests/mlu/test_yolo_box_op_mlu.py
浏览文件 @
715b9d66
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
# 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.
from
__future__
import
division
import
sys
import
sys
sys
.
path
.
append
(
".."
)
sys
.
path
.
append
(
".."
)
...
...
python/paddle/fluid/tests/unittests/xpu/test_index_select_op_xpu.py
浏览文件 @
715b9d66
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
# 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.
from
__future__
import
print_function
import
unittest
import
unittest
import
sys
import
sys
import
paddle.fluid
as
fluid
import
paddle.fluid
as
fluid
...
...
python/setup.py.in
浏览文件 @
715b9d66
...
@@ -233,7 +233,7 @@ os.environ['CUDA_CACHE_MAXSIZE'] = '805306368'
...
@@ -233,7 +233,7 @@ os.environ['CUDA_CACHE_MAXSIZE'] = '805306368'
write_cuda_env_config_py(filename='@PADDLE_BINARY_DIR@/python/paddle/cuda_env.py')
write_cuda_env_config_py(filename='@PADDLE_BINARY_DIR@/python/paddle/cuda_env.py')
def write_distributed_training_mode_py(filename='paddle/fluid/incubate/fleet/parameter_server/version.py'):
def write_distributed_training_mode_py(filename='paddle/fluid/incubate/fleet/parameter_server/version.py'):
cnt = '''
from __future__ import print_function
cnt = '''
# THIS FILE IS GENERATED FROM PADDLEPADDLE SETUP.PY
# THIS FILE IS GENERATED FROM PADDLEPADDLE SETUP.PY
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录