Skip to content

Add from six.moves import reduce in tensor.py#16435

Merged
chengduoZH merged 2 commits intoPaddlePaddle:developfrom
chengduoZH:fix_ones_on_py35
Mar 27, 2019
Merged

Add from six.moves import reduce in tensor.py#16435
chengduoZH merged 2 commits intoPaddlePaddle:developfrom
chengduoZH:fix_ones_on_py35

Conversation

@chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented Mar 25, 2019

fix #16418

@chengduoZH chengduoZH requested a review from wopeizl March 25, 2019 09:35

from __future__ import print_function

from six.moves import reduce
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是不是用这个?
from functools import reduce

@chengduoZH chengduoZH merged commit 9993651 into PaddlePaddle:develop Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ones接口有问题

2 participants