class_docstr: Log objects to Weights and Biases.
code: def log_final(self, setting, report):
      report = dict_report(report)
      report = {
          f"{k}/{setting}": v
          for k, v in report.items()
          if isinstance(v, numbers.Number)
      }
      for key, value in report.items():
          self.run.summary[key] = value
  
imports: import datetime
  import json
  import numbers
  import os
  import pathlib
  import re
  from typing import Optional
  import parlai.utils.logging
  from parlai.core.metrics import Metric, dict_report, get_metric_display_data
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.utils.io import PathManager
label_desc: Use image node_id 4 for calling the WandbLogger obj's underlying member method code with example usage: obj.log_final(setting, report) without return types