class_docstr: Writes data to multiple `Logger` objects.
class_docstr_tok: ["Writes","data","to","multiple","`","Logger","`","objects","."]
docstr: Initialize `Dispatcher` connected to several `Logger` objects.
docstr_tok: ["Initialize","`","Dispatcher","`","connected","to","several","`","Logger","`","objects","."]
code: def __init__(
      self,
      to: Sequence[base.Logger],
      serialize_fn: Optional[Callable[[base.LoggingData], str]] = None,
  ):
      """Initialize `Dispatcher` connected to several `Logger` objects."""
      self._to = to
      self._serialize_fn = serialize_fn
  
imports: from typing import Callable, Optional, Sequence
  from acme.utils.loggers import base
label_desc: Use image node_id 1 to create a new Dispatcher object from inherited base classes: base with example: obj = Dispatcher(to, serialize_fn)