Coverage for src/ensae_teaching_dl/__init__.py: 62%
8 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-25 02:07 +0200
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-25 02:07 +0200
1# -*- encoding: utf-8 -*-
2"""
3@file
4@brief Around :epkg:`deep learning`.
5"""
7__version__ = "0.2.199"
8__author__ = "Xavier Dupré"
11def check(log=False):
12 """
13 Checks the library is working.
14 It raises an exception.
15 If you want to disable the logs:
17 @param log if True, display information, otherwise
18 @return 0 or exception
19 """
20 return True
23def _setup_hook(use_print=False):
24 """
25 If this function is added to the module,
26 the help automation and unit tests call it first before
27 anything goes on as an initialization step.
28 """
29 if use_print:
30 print("Success: _setup_hook")