code: def infer_target_cfs_range(self, desired_range_input):
      target_range = None
      if desired_range_input is None:
          raise ValueError(
              "Need to provide a desired_range for the target counterfactuals for a regression model."
          )
      else:
          if desired_range_input[0] > desired_range_input[1]:
              raise ValueError("Invalid Range!")
          else:
              target_range = desired_range_input
      return target_range
  
imports: import pickle
  from abc import ABC, abstractmethod
  from collections.abc import Iterable
  from typing import Any, List
  import numpy
  import pandas
  from raiutils.exceptions import UserConfigValidationException
  from sklearn.neighbors import KDTree
  from tqdm import tqdm
  from dice_ml.constants import ModelTypes, _PostHocSparsityTypes
  from dice_ml.counterfactual_explanations import CounterfactualExplanations
label_desc: Use image node_id 18 for calling the ExplainerBase obj's underlying member method code with example usage: obj.infer_target_cfs_range(desired_range_input) and returns: target_range