class_docstr: class of Teacher
docstr: model: saved model dir, ckpt dir or frozen_graph_pb path
  gpu_str: list of gpu devices. e.g. '' for cpu, '0,1' for gpu 0,1
docstr_tok: ["model",":","saved","model","dir",",","ckpt","dir","or","frozen_graph_pb","path","gpu_str",":","list","of","gpu","devices",".","e.g.","``","for","cpu",",","'","0,1","'","for","gpu","0,1"]
code: def __init__(self, model, gpu_str=None, temperature=1.0):
      """
      model: saved model dir, ckpt dir or frozen_graph_pb path
      gpu_str: list of gpu devices. e.g. '' for cpu, '0,1' for gpu 0,1
      """
      super().__init__(model, gpu_str)
  
      self.temperature = temperature
      self.build()
  
file_path: delta/delta/serving/knowledge_distilling.py
imports: import numpy
  import delta.compat
  from delta.utils.register import registers
  from delta.serving.base_frozen_model import FrozenModel
label_desc: Use image node_id 1 to create a new Teacher object from inherited base classes: FrozenModel with example: obj = Teacher(model, gpu_str, temperature)