commit | f9c2c56c7d05dfdb076840a6c091d6341db725d4 | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Tue Nov 01 22:19:28 2016 +0700 |
committer | Vadim Yanitskiy <axilirator@gmail.com> | Wed Nov 02 08:37:55 2016 +0000 |
tree | 08782dca64e549119cc95bedf9d4ec5240306626 | |
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
diff --git a/utils/conv_gen.py b/utils/conv_gen.py index 78b2335..62fa8ad 100644 --- a/utils/conv_gen.py +++ b/utils/conv_gen.py
@@ -24,6 +24,7 @@ """ import sys, os, math +from functools import reduce class ConvolutionalCode(object):