class_docstr: Soft Actor Critic (SAC) Algorithm class.
  
  This file defines the distributed Algorithm class for the soft actor critic
  algorithm.
  See `sac_[tf|torch]_policy.py` for the definition of the policy loss.
  
  Detailed documentation:
  https://docs.ray.io/en/master/rllib-algorithms.html#sac
class_docstr_tok: ["Soft","Actor","Critic","(","SAC",")","Algorithm","class",".","This","file","defines","the","distributed","Algorithm","class","for","the","soft","actor","critic","algorithm",".","See","`","sac_","[","tf|torch","]","_policy.py","`","for","the","definition","of","the","policy","loss",".","Detailed","documentation",":","https",":","\/\/docs.ray.io\/en\/master\/rllib-algorithms.html","#","sac"]
code: def get_default_policy_class(
      cls, config: AlgorithmConfig
  ) -> Optional[Type[Policy]]:
      if config["framework"] == "torch":
          from ray.rllib.algorithms.sac.sac_torch_policy import (
              SACTorchPolicy,
          )
  
          return SACTorchPolicy
      else:
          return SACTFPolicy
  
imports: import logging
  from typing import Type, Dict, Any, Optional, Union
  from ray.rllib.algorithms.algorithm_config import AlgorithmConfig, NotProvided
  from ray.rllib.algorithms.dqn.dqn import DQN
  from ray.rllib.algorithms.sac.sac_tf_policy import SACTFPolicy
  from ray.rllib.policy.policy import Policy
  from ray.rllib.utils import deep_update
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.deprecation import DEPRECATED_VALUE, deprecation_warning
  from ray.rllib.utils.framework import try_import_tf, try_import_tfp
label_desc: Use image node_id 3 for calling the SAC obj's underlying member method code with example usage: obj.get_default_policy_class(cls, config) and returns: SACTorchPolicy, SACTFPolicy