class_docstr: Binding for `dm_control <https://arxiv.org/pdf/1801.00690.pdf>`.
docstr: Create a DmControl task given the domain name and task name.
  
  Args:
      domain_name (str): Domain name
      task_name (str): Task name
  
  Return:
      dm_control.suite.Task: the dm_control task environment
docstr_tok: ["Create","a","DmControl","task","given","the","domain","name","and","task","name",".","Args",":","domain_name","(","str",")",":","Domain","name","task_name","(","str",")",":","Task","name","Return",":","dm_control.suite.Task",":","the","dm_control","task","environment"]
code: def from_suite(cls, domain_name, task_name):
      """Create a DmControl task given the domain name and task name.
  
      Args:
          domain_name (str): Domain name
          task_name (str): Task name
  
      Return:
          dm_control.suite.Task: the dm_control task environment
      """
      return cls(
          env=suite.load(domain_name, task_name),
          name="{}.{}".format(domain_name, task_name),
      )
  
imports: import akro
  from dm_control import suite
  from dm_control.rl.control import flatten_observation
  from dm_env import StepType
  import numpy
  from garage import Environment, EnvSpec, EnvStep, StepType
  from garage.envs.dm_control.dm_control_viewer import DmControlViewer
label_desc: Use image node_id 6 for calling the DMControlEnv obj's underlying member method code with example usage: obj.from_suite(cls, domain_name, task_name) and returns: cls