docstr: restore model from file
  :param checkpoint_file: the model file
  :param config: the trial config
docstr_tok: ["restore","model","from","file",":","param","checkpoint_file",":","the","model","file",":","param","config",":","the","trial","config"]
code: def restore(self, checkpoint_file, **config):
      """
      restore model from file
      :param checkpoint_file: the model file
      :param config: the trial config
      """
      with open(checkpoint_file, "rb") as f:
          state_dict = pickle.load(f)
      self.config = state_dict["config"]
      self.apply_config(rs=True, config=self.config)
      self.build(self.config)
      self.model.set_weights(state_dict["weights"])
  
imports: import pickle
  import numpy
  import time
  from tensorflow.keras.models import Model
  from tensorflow.keras.layers import *
  from tensorflow.keras.initializers import TruncatedNormal, Constant
  import tensorflow.keras.backend
  import tensorflow
  from bigdl.orca.automl.metrics import Evaluator
  from bigdl.orca.automl.model.abstract import BaseModel
label_desc: Use image node_id 16 for calling the MTNetKeras obj's underlying member method code with example usage: obj.restore(checkpoint_file) without return types