docs: def sparse(self, rows: np.ndarray, cols: np.ndarray) -> scipy.sparse.coo_matrix:
  		"""
  		Return the layer as :class:`scipy.sparse.coo_matrix`
  		"""
  		return scipy.sparse.coo_matrix(self.values[rows, :][:, cols])