class_docstr: A global configuration object for HPO.
  
  To access the hpo config, use "bigdl.nano.automl.hpo_config".
  E.g., to enable hpo tf, use "bigd.nano.automl.hpo_config.enable_hpo_tf()"
class_docstr_tok: ["A","global","configuration","object","for","HPO",".","To","access","the","hpo","config",",","use","``","bigdl.nano.automl.hpo_config","''",".","E.g.",",","to","enable","hpo","tf",",","use","``","bigd.nano.automl.hpo_config.enable_hpo_tf","(",")","''"]
docstr: Forbid setting hpo pytorch variable directly.             Should use enable_hpo_pytorch() instead.
docstr_tok: ["Forbid","setting","hpo","pytorch","variable","directly",".","Should","use","enable_hpo_pytorch","(",")","instead","."]
code: def hpo_pytorch(self, value):
      """Forbid setting hpo pytorch variable directly. \
              Should use enable_hpo_pytorch() instead."""
      invalidInputError(
          False,
          "Directly set hpo_pytorch value is not permitted."
          "Please use enable_hpo_pytorch() or disable_hpo_pytorch()"
          " to enable/disable pytorch hpo. ",
      )
  
file_path: BigDL/python/nano/src/bigdl/nano/automl/hpo/config.py
imports: import importlib
  from bigdl.nano.automl.utils.register_modules import COMPONENT_TYPE, register_module, register_module_simple, clean_modules_simple
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 10 for calling the HPOConfig obj's underlying member method code with example usage: obj.hpo_pytorch(value) without return types