How to create custom Keras metric using multiple functions with numpy arrays and matrices?
Solved it using tf.py_function() as a wrapper function around the angular_error() function and added it to callbacks.