347
368
return opt_code(A0,p,Adict )
376
Adict[(i,)] = sigdig.vec_round_sig( Numeric.reshape( A0[i],(-1,) ), 10 )
349
383
def optimize_from_dict( Adict ):
350
384
"""Takes the reference tensor as input and returns
351
385
abstract code for forming the element tensor."""