code: def _vasicek_entropy(X, m):
      """Compute the Vasicek estimator as described in [6] Eq. 1.3."""
      n = X.shape[-1]
      X = _pad_along_last_axis(X, m)
      differences = X[..., 2 * m :] - X[..., : -2 * m :]
      logs = np.log(n / (2 * m) * differences)
      return np.mean(logs, axis=-1)
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/_entropy.py
imports: from __future__ import annotations
  import math
  import numpy
  from scipy import special
  from typing import Optional, Union
label_desc: Use image node_id 4 for calling a global function with example usage: _vasicek_entropy(X, m) and returns: np