def theq(a, b):
 astr = theano.printing.debugprint(a, file='str')
 bstr = theano.printing.debugprint(b, file='str')
 if (not (astr == bstr)):
  print ()
  print astr
  print bstr
 return (astr == bstr)

def theq ( a , b ) : astr = theano . printing . debugprint ( a , file = 'str' ) bstr = theano . printing . debugprint ( b , file = 'str' ) if ( not ( astr == bstr ) ) : print ( ) print astr print bstr return ( astr == bstr )
theano equality .