This predicate erases all templates of the calling module context, that are persisted in the global and file local template stores between successive calls to instrument/2 and instrument/3. The predicate is a tool and the templates of a module other than the current calling module context can be erased by invoking erase_module_templates@Module. To erase templates applicable to all modules, the atom every_module may be specified.