code: def CounterFactualProto(*args, **kwargs):
      """
      The class name `CounterFactualProto` is deprecated, please use `CounterfactualProto`.
      """
      # TODO: remove this function in an upcoming release
      warning_msg = "The class name `CounterFactualProto` is deprecated, please use `CounterfactualProto`."
      import warnings
  
      warnings.warn(warning_msg, FutureWarning)
  
      return CounterfactualProto(*args, **kwargs)
  
imports: import copy
  import logging
  import sys
  from typing import Any, Callable, Dict, Optional, Sequence, Tuple, Union
  import numpy
  import tensorflow.compat.v1
  from alibi.api.defaults import DEFAULT_DATA_CFP, DEFAULT_META_CFP
  from alibi.api.interfaces import Explainer, Explanation, FitMixin
  from alibi.confidence import TrustScore
  from alibi.utils.discretizer import Discretizer
  from alibi.utils.distance import abdm, multidim_scaling, mvdm
  from alibi.utils.gradients import perturb
  from alibi.utils.mapping import num_to_ord, ohe_to_ord, ohe_to_ord_shape, ord_to_num, ord_to_ohe
  from alibi.utils.tf import argmax_grad, argmin_grad, one_hot_grad, round_grad
label_desc: Use image node_id 1 for calling a global function with example usage: CounterFactualProto() and returns: CounterfactualProto