diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2016-11-01 22:19:28 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2016-11-02 08:37:55 +0000 |
commit | f9c2c56c7d05dfdb076840a6c091d6341db725d4 (patch) | |
tree | 08782dca64e549119cc95bedf9d4ec5240306626 /utils | |
parent | 45ebc523c6b4825ab780a528fc87ab5c70bf867f (diff) |
utils/conv_gen.py: explicitly import reduce()
This change finally makes the script able to be executed
in Python 3 environment. Due to new Python 3 restrictions,
the reduce() should be imported explicitly.
Change-Id: Icbc81c29f1a226aeed2c1245a5d60809fe124005
Diffstat (limited to 'utils')
-rw-r--r-- | utils/conv_gen.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/conv_gen.py b/utils/conv_gen.py index 78b23355..62fa8adb 100644 --- a/utils/conv_gen.py +++ b/utils/conv_gen.py @@ -24,6 +24,7 @@ mod_license = """ """ import sys, os, math +from functools import reduce class ConvolutionalCode(object): |