human
amax for 3d numpy array.
assistant
Here is a Python function to amax for 3d numpy arrays

import numpy as np

def amax(a):
    """
    Returns the maximum value of a numpy array.
    """
    return np.amax(a)

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

# Calling the function
print((amax(a)))

#Example Output
# 10

#Remember to inspect code for bugs.