class_docstr: Load data items from an input stream.
      
class_docstr_tok: ["Load","data","items","from","an","input","stream","."]
code: def _load_data_value(self, decoder=None):
      encoder_name = pickle.load(self.in_stream)
      log.debug("encoder_name = %s", encoder_name)
      if encoder_name == "custom_encoder" or callable(decoder):
          assert callable(
              decoder
          ), "You must provide a callable custom decoder for the data item {name}!"
          return decoder(self.in_stream)
      if encoder_name == "no_encoder":
          return None
      if encoder_name == "serializable.save":
          return Serializable.load(self.in_stream)
      if encoder_name == "numpy.save":
          return np.load(self.in_stream)
      if encoder_name == "pickle.dump":
          return pickle.load(self.in_stream)
      if encoder_name == "cloudpickle.dump":
          return cloudpickle.load(self.in_stream)
  
      raise ValueError(
          f"Unsupported encoder type found: {encoder_name}"
      )
  
file_path: shap/shap/_serializable.py
imports: import inspect
  import logging
  import pickle
  import cloudpickle
  import numpy
label_desc: Use image node_id 5 for calling the Deserializer obj's underlying member method code with example usage: obj._load_data_value(decoder) and returns: decoder, None, Serializable, np, pickle, cloudpickle