print"WARNING: Theano version between version 9923a40c7b7a and the w august 2010(fixed date), generated an error in that case. This happen when their is 2 consecutive sum in the graph, bad code was generated. To disable this warning, set the theano flags warn.sum_sum_bug to False."
newaxis=list(tuple(summed.owner.op.axis))
newaxis=list(tuple(summed.owner.op.axis))
# figure out which dimensions of the original input are preserved
# figure out which dimensions of the original input are preserved
print"WARNING: Theano version between version 9923a40c7b7a and the 2 august 2010(fixation date), generated an error in that case. This happen when their is 2 consecutive sum in the graph, bad code was generated. To disable this warning, set the theano flags warn.sum_sum_bug to False."