toolbox module

DIRESA helper functions

Author:

Geert De Paepe

Email:

geert.de.paepe@vub.be

License:

MIT License

toolbox.cut_sub_model(model, sub_model_name)

Cuts a sub-model out of a keras model Limitations: does not work for a sub-model of a sub-model

Parameters:
  • model – keras model

  • sub_model_name – name of the sub-model

Returns:

submodel