code: def _validate_input(self, X):
      check_is_fitted(self)
      # Input validation
      X = check_array(X)
      if X.shape[1] != self.n_features_in_:
          raise ValueError(
              f"Inconsistent number of features between fit and predict calls: ({self.n_features_in_}, {X.shape[1]})"
          )
      return X
  
file_path: autogluon/tabular/src/autogluon/tabular/experimental/_scikit_mixin.py
imports: from __future__ import annotations
  import pandas
  from sklearn.utils.validation import check_array, check_is_fitted
label_desc: Use image node_id 3 for calling the ScikitMixin obj's underlying member method code with example usage: obj._validate_input(X) and returns: X