class_docstr: A convenience context manager that makes it possible to conditionally
  enable hyperparameter optimization for a recipe.
  
  Arguments
  ---------
  reporter_args: list
      arguments to the reporter class
  reporter_kwargs: dict
      keyword arguments to the reporter class
  
  Example
  -------
  >>> ctx = HyperparameterOptimizationContext(
  ...     reporter_args=[],
  ...     reporter_kwargs={"objective_key": "error"}
  ... )
code: def __init__(self, reporter_args=None, reporter_kwargs=None):
      self.reporter_args = reporter_args or []
      self.reporter_kwargs = reporter_kwargs or {}
      self.reporter = None
      self.enabled = False
      self.result = {"objective": 0.0}
  
imports: import importlib
  import logging
  import json
  import os
  import speechbrain
  import sys
  from datetime import datetime
  from hyperpyyaml import load_hyperpyyaml
label_desc: Use image node_id 1 to create a new HyperparameterOptimizationContext object  with example: obj = HyperparameterOptimizationContext(reporter_args, reporter_kwargs)