code: def _reshape_points(self, points):
      if jnp.issubdtype(lax.dtype(points), jnp.complexfloating):
          raise NotImplementedError(
              "gaussian_kde does not support complex coordinates"
          )
      points = jnp.atleast_2d(points)
      d, m = points.shape
      if d != self.d:
          if d == 1 and m == self.d:
              points = jnp.reshape(points, (self.d, 1))
          else:
              raise ValueError(
                  "points have dimension {}, dataset has dimension {}".format(
                      d, self.d
                  )
              )
      return points
  
imports: from dataclasses import dataclass
  from functools import partial
  from typing import Any
  import numpy
  import scipy.stats
  import jax.numpy
  from jax import jit, lax, random, vmap
  from jax._src.numpy.util import check_arraylike, promote_dtypes_inexact, _wraps
  from jax._src.tree_util import register_pytree_node_class
  from jax.scipy import linalg, special
label_desc: Use image node_id 17 for calling the gaussian_kde obj's underlying member method code with example usage: obj._reshape_points(points) and returns: points