code: def unit_vector(vector: np.ndarray) -> np.ndarray:
      """Returns the unit vector of the vector.
  
      Parameters
      ----------
      vector: np.ndarray
          A numpy array of shape `(3,)`, where `3` is (x,y,z).
  
      Returns
      ----------
      np.ndarray
          A numpy array of shape `(3,)`. The unit vector of the input vector.
      """
      return vector / np.linalg.norm(vector)
  
file_path: deepchem/deepchem/utils/geometry_utils.py
imports: import numpy
  from scipy.spatial.distance import cdist
  from copy import deepcopy
label_desc: Use image node_id 1 for calling a global function with example usage: unit_vector(vector) and returns: unknown