class_docstr: Logs attack results to Visdom.
class_docstr_tok: ["Logs","attack","results","to","Visdom","."]
code: def __setstate__(self, state):
      self.__dict__ = state
      self.vis = visdom.Visdom(
          port=self.port, server=self.hostname, env=self.env
      )
  
file_path: TextAttack/textattack/loggers/visdom_logger.py
imports: import socket
  from textattack.shared.utils import LazyLoader, html_table_from_rows
  from .logger import Logger
label_desc: Use image node_id 3 for calling the VisdomLogger obj's underlying member method code with example usage: obj.__setstate__(state) without return types