class_docstr: Load data items from an input stream.
      
class_docstr_tok: ["Load","data","items","from","an","input","stream","."]
docstr: Load a data item from the current input stream.
          
docstr_tok: ["Load","a","data","item","from","the","current","input","stream","."]
code: def load(self, name, decoder=None):
      """Load a data item from the current input stream."""
      # confirm the block name
      loaded_name = pickle.load(self.in_stream)
      log.debug("loaded_name = %s", loaded_name)
      print("loaded_name", loaded_name)
      if loaded_name != name:
          raise ValueError(
              f"The next data item in the file being loaded was supposed to be {name}, "
              + f"but the next block found was {loaded_name}."
          )  # We should eventually add support for skipping over unused data items in old formats...
  
      value = self._load_data_value(decoder)
      log.debug("value = %s", str(value))
      return value
  
file_path: shap/shap/_serializable.py
imports: import inspect
  import logging
  import pickle
  import cloudpickle
  import numpy
label_desc: Use image node_id 4 for calling the Deserializer obj's underlying member method code with example usage: obj.load(name, decoder) and returns: value