baidu-research / ba-dls-deepspeech

Apache License 2.0
486 stars 174 forks source link

Importing reduce for Python 3 compat #2

Closed jfsantos closed 7 years ago

jfsantos commented 7 years ago

reduce is not in the default namespace in Python 3, and importing it from functools is supported even in Python 2.7 (see https://docs.python.org/2/library/functools.html#functools.reduce).

srvinay commented 7 years ago

Thanks again!