code: def squared_distance(v1, v2):
          
          v1, v2 = _convert_to_vector(v1), _convert_to_vector(v2)
          return v1.squared_distance(v2)
docs: Squared distance between two vectors.
          a and b can be of type SparseVector, DenseVector, np.ndarray
          or array.array.
  
          >>> a = Vectors.sparse(4, [(0, 1), (3, 4)])
          >>> b = Vectors.dense([2, 5, 4, 1])
          >>> a.squared_distance(b)
          51.0