code: def weighted_linear_sum(w: np.ndarray, x: np.ndarray) -> np.ndarray:
      """Computes weighted linear sum.
  
      Parameters
      ----------
      w: np.ndarray
          A numpy array of shape `(N,)`
      x: np.ndarray
          A numpy array of shape `(N, M, L)`
  
      Returns
      -------
      np.ndarray
          A numpy array of shape `(M, L)`
      """
      return np.tensordot(w, x, axes=1)
  
file_path: deepchem/deepchem/dock/pose_scoring.py
imports: import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: weighted_linear_sum(w, x) and returns: np