present_coefiecients = random.sample(xrange(1,50),5)
present_value = random.sample(xrange(1,100),5)
present_weights = ap.array('0;0;0;0;0')
print present_coefiecients
print present_value
print present_weights
c = [a*b for a,b in zip(present_coefiecients,present_value)]
layer_1 = ap.log2(c)
print layer_1
如何运行这些指令集50次,这样我每次都可以获得不同的layer_1值