--- branches/ein16/synth/d2/test_eval.py 2016/08/24 23:39:30 4455 +++ branches/ein16/synth/d2/test_eval.py 2016/08/25 04:03:27 4456 @@ -9,7 +9,7 @@ from obj_apply import * from obj_operator import * from obj_field import * - +from write import * # *************************** unary operators *************************** @@ -531,6 +531,8 @@ if(fty.is_Vector(ityp2)): #both vectors [n2] = fty.get_shape(ityp2) + x= "\n outer made shape:"+(str(n1)+","+str(n2)) + write_outer(x) for i in range(n1): tmpI = [] for j in range(n2): @@ -539,6 +541,8 @@ return rtn elif(fty.is_Matrix(ityp2)): [n2,n3] = fty.get_shape(ityp2) + x= "\n outer made shape:"+(str(n1)+","+str(n2)+","+str(n3)) + write_outer(x) for i in range(n1): tmpI = [] for j in range(n2): @@ -552,6 +556,8 @@ [n1,n2] = fty.get_shape(ityp1) if(fty.is_Vector(ityp2)): [n3] = fty.get_shape(ityp2) + x= "\n outer made shape:"+(str(n1)+","+str(n2)+","+str(n3)) + write_outer(x) for i in range(n1): tmpI = [] for j in range(n2): @@ -563,6 +569,8 @@ return rtn elif(fty.is_Matrix(ityp2)): [n3, n4] = fty.get_shape(ityp2) + x= "\n outer made shape:"+(str(n1)+","+str(n4)) + write_outer(x) for i in range(n1): tmpI = [] for j in range(n2): @@ -1236,6 +1244,7 @@ dim = fty.get_dim(otyp1) #print "output type"+otyp1.name #print "inside probe field ortn", ortn + write_outer("dim"+str(dim)) if (dim==nonefield_dim): #still need to flatten rtn = []
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: uter("dim"+str(dim)) if (dim==nonefield_dim): #still need to flatten rtn = []