class_docstr: This is the superclass of all serializable objects.
      
class_docstr_tok: ["This","is","the","superclass","of","all","serializable","objects","."]
docstr: This is meant to be overridden by subclasses and called with super.
  
  We return constructor argument values when not being instantiated. Since there are no
  constructor arguments for the Serializable class we just return an empty dictionary.
docstr_tok: ["This","is","meant","to","be","overridden","by","subclasses","and","called","with","super",".","We","return","constructor","argument","values","when","not","being","instantiated",".","Since","there","are","no","constructor","arguments","for","the","Serializable","class","we","just","return","an","empty","dictionary","."]
code: def load(cls, in_file, instantiate=True):
      """This is meant to be overridden by subclasses and called with super.
  
      We return constructor argument values when not being instantiated. Since there are no
      constructor arguments for the Serializable class we just return an empty dictionary.
      """
      if instantiate:
          return cls._instantiated_load(in_file)
      return {}
  
file_path: shap/shap/_serializable.py
imports: import inspect
  import logging
  import pickle
  import cloudpickle
  import numpy
label_desc: Use image node_id 2 for calling the Serializable obj's underlying member method code with example usage: obj.load(cls, in_file, instantiate) and returns: dict, cls