code: def minkowski_distance_numpy(object1, object2, degree=2):
      """!
      @brief Calculate Minkowski distance between objects using numpy.
  
      @param[in] object1 (array_like): The first array_like object.
      @param[in] object2 (array_like): The second array_like object.
      @param[in] degree (numeric): Degree of that is used for Minkowski distance.
  
      @return (double) Minkowski distance between two object.
  
      """
      if len(object1.shape) > 1 or len(object2.shape) > 1:
          return numpy.power(
              numpy.sum(numpy.power(object1 - object2, degree), axis=1),
              1 / degree,
          )
      else:
          return numpy.power(
              numpy.sum(numpy.power(object1 - object2, degree)),
              1 / degree,
          )
  
imports: import numpy
  from enum import IntEnum
label_desc: Use image node_id 10 for calling a global function with example usage: minkowski_distance_numpy(object1, object2, degree) and returns: numpy, numpy