class_docstr: TowheeConfig mapping for AutoConfig.
code: def set_local_config(cls, device: int) -> "TowheeConfig":
      config = {"device": device}
      return cls(config)
  
imports: from typing import Dict, Optional, List
  from pydantic import BaseModel, Extra, validator
label_desc: Use image node_id 3 for calling the TowheeConfig obj's underlying member method code with example usage: obj.set_local_config(cls, device) and returns: cls