#NEWLINE# def eq( a , b ) : #NEWLINE# #INDENT# if isinstance ( a , Array ) : #NEWLINE# #INDENT# a = a . compute ( get = dask . get ) #NEWLINE# #UNINDENT# if isinstance ( b , Array ) : #NEWLINE# #INDENT# b = b . compute ( get = dask . get ) #NEWLINE# #UNINDENT# c = ( a == b ) #NEWLINE# if isinstance ( c , np . ndarray ) : #NEWLINE# #INDENT# c = c . all ( ) #NEWLINE# #UNINDENT# return c