parameters: (self, layer_id, layer)
docstring: Removes layer from blocking model reconstruction.
docstring_summary: Removes layer from blocking model reconstruction.
docstring_tokens: Removes layer from blocking model reconstruction .
function: def _unblock_model_reconstruction(self, layer_id, layer):
      """Removes layer from blocking model reconstruction."""
      for model_id, v in self.model_layer_dependencies.items():
        _, layers = v
        if layer_id not in layers:
          continue
        layers[layers.index(layer_id)] = layer
        if all(isinstance(x, base_layer.Layer) for x in layers):
          self._models_to_reconstruct.append(model_id)
function_tokens: def _unblock_model_reconstruction ( self , layer_id , layer ) : for model_id , v in self . model_layer_dependencies . items ( ) : _ , layers = v if layer_id not in layers : continue layers [ layers . index ( layer_id ) ] = layer if all ( isinstance ( x , base_layer . Layer ) for x in layers ) : self . _models_to_reconstruct . append ( model_id )