class_docstr: The network wrapper contains multiple copies of the same network, each one with a different set of weights which is
  updating in a different time scale. The network wrapper will always contain an online network.
  It will contain an additional slow updating target network if it was requested by the user,
  and it will contain a global network shared between different workers, if Coach is run in a single-node
  multi-process distributed mode. The network wrapper contains functionality for managing these networks and syncing
  between them.
class_docstr_tok: ["The","network","wrapper","contains","multiple","copies","of","the","same","network",",","each","one","with","a","different","set","of","weights","which","is","updating","in","a","different","time","scale",".","The","network","wrapper","will","always","contain","an","online","network",".","It","will","contain","an","additional","slow","updating","target","network","if","it","was","requested","by","the","user",",","and","it","will","contain","a","global","network","shared","between","different","workers",",","if","Coach","is","run","in","a","single-node","multi-process","distributed","mode",".","The","network","wrapper","contains","functionality","for","managing","these","networks","and","syncing","between","them","."]
code: def __str__(self):
      sub_networks = []
      if self.global_network:
          sub_networks.append("global network")
      if self.online_network:
          sub_networks.append("online network")
      if self.target_network:
          sub_networks.append("target network")
  
      result = []
      result.append(
          "Network: {}, Copies: {} ({})".format(
              self.name, len(sub_networks), " | ".join(sub_networks)
          )
      )
      result.append("-" * len(result[-1]))
      result.append(str(self.online_network))
      result.append("")
      return "\n".join(result)
  
imports: from typing import List, Tuple
  from rl_coach.base_parameters import Frameworks, AgentParameters
  from rl_coach.logger import failed_imports
  from rl_coach.saver import SaverCollection
  from rl_coach.spaces import SpacesDefinition
  from rl_coach.utils import force_list
label_desc: Use image node_id 12 for calling the NetworkWrapper obj's underlying member method code with example usage: obj.__str__() and returns: str