docstr: Loads a bytes object the training state dict.
docstr_tok: ["Loads","a","bytes","object","the","training","state","dict","."]
code: def load_state_stream(self, byte_obj):
      """Loads a bytes object the training state dict."""
      state_dict = ModelIO._state_stream2dict(byte_obj)
      return self.load_state_dict(state_dict)
  
file_path: BigDL/python/orca/src/bigdl/orca/learn/pytorch/core/modelIO.py
imports: import os
  import io
  import shutil
  import tempfile
  from abc import ABCMeta, abstractmethod
  import torch
  from bigdl.dllib.utils.log4Error import invalidInputError
label_desc: Use image node_id 6 for calling the ModelIO obj's underlying member method code with example usage: obj.load_state_stream(byte_obj) and returns: self