code: def inplace_tanh(X):
      """Compute the hyperbolic tan function inplace.
  
      Parameters
      ----------
      X : {array-like, sparse matrix}, shape (n_samples, n_features)
          The input data.
      """
      np.tanh(X, out=X)
  
file_path: scikit-learn/sklearn/neural_network/_base.py
imports: import numpy
  from scipy.special import expit
  from scipy.special import xlogy
label_desc: Use image node_id 3 for calling a global function with example usage: inplace_tanh(X) without return types