parameters: (model_path)
return_statement: return W
docstring: Load a stored keras model and return its weights.
      
      Input
      ----------
          The file path of the stored keras model.
      
      Output
      ----------
          Weights of the model.
docstring_summary: Load a stored keras model and return its weights.
      
      Input
      ----------
          The file path of the stored keras model.
      
      Output
      ----------
          Weights of the model.
docstring_tokens: Load a stored keras model and return its weights . Input ---------- The file path of the stored keras model . Output ---------- Weights of the model .
function: def dummy_loader(model_path):
      '''
      Load a stored keras model and return its weights.
      
      Input
      ----------
          The file path of the stored keras model.
      
      Output
      ----------
          Weights of the model.
          
      '''
      backbone = keras.models.load_model(model_path, compile=False)
      W = backbone.get_weights()
      return W
function_tokens: def dummy_loader ( model_path ) : backbone = keras . models . load_model ( model_path , compile = False ) W = backbone . get_weights ( ) return W