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
This commit is contained in:
Vadim Yanitskiy 2016-11-01 22:19:28 +07:00
parent 45ebc523c6
commit f9c2c56c7d
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ mod_license = """
"""
import sys, os, math
from functools import reduce
class ConvolutionalCode(object):