class_docstr: The configuration parameters for the SageMaker Clarify explainer.
docstr: Generates a request dictionary using the parameters provided to the class.
docstr_tok: ["Generates","a","request","dictionary","using","the","parameters","provided","to","the","class","."]
code: def _to_request_dict(self):
      """Generates a request dictionary using the parameters provided to the class."""
      request_dict = {
          "ShapConfig": self.shap_config._to_request_dict(),
      }
  
      if self.enable_explanations is not None:
          request_dict["EnableExplanations"] = self.enable_explanations
  
      if self.inference_config is not None:
          request_dict[
              "InferenceConfig"
          ] = self.inference_config._to_request_dict()
  
      return request_dict
  
imports: from __future__ import print_function, absolute_import
  from typing import List, Optional
label_desc: Use image node_id 2 for calling the ClarifyExplainerConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: request_dict