docstr: Setup cluster according to given resources,
  resources is a dict, e.g. {'CPU': 3, 'GPU': 1}
  
  Parameters
  ----------
  address_to_resources: dict
      resources that required for each node.
docstr_tok: ["Setup","cluster","according","to","given","resources",",","resources","is","a","dict",",","e.g",".","{","'CPU","'",":","3",",","'GPU","'",":","1","}","Parameters","--","--","--","--","--","address_to_resources",":","dict","resources","that","required","for","each","node","."]
code: def setup_cluster(
      cls, address_to_resources: Dict[str, Dict[str, Number]]
  ):
      """
      Setup cluster according to given resources,
      resources is a dict, e.g. {'CPU': 3, 'GPU': 1}
  
      Parameters
      ----------
      address_to_resources: dict
          resources that required for each node.
      """
      pass
  
imports: from abc import ABC, abstractmethod
  from numbers import Number
  from typing import Dict, Type
label_desc: Use image node_id 1 for calling the BaseActorDriver obj's underlying member method code with example usage: obj.setup_cluster(cls, address_to_resources) without return types