human
Give me a Python program to check equality between arrays.
assistant
Here is a Python program to check equality between arrays

import numpy as np

def _check_array_equality(a, b):
    """Check equality between arrays.
    """
    if a.shape!= b.shape:
        return False
    if a.dtype!= b.dtype:
        return False
    return np.all(a == b)

# Enter the array
a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Enter the array
b = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Calling the function
print((_check_array_equality(a, b)))

#Example Output
# True

#Remember to inspect code for bugs.