Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- encoding: utf-8 -*- 

2""" 

3@file 

4@brief Around :epkg:`deep learning`. 

5""" 

6 

7__version__ = "0.2.185" 

8__author__ = "Xavier Dupré" 

9 

10 

11def check(log=False): 

12 """ 

13 Checks the library is working. 

14 It raises an exception. 

15 If you want to disable the logs: 

16 

17 @param log if True, display information, otherwise 

18 @return 0 or exception 

19 """ 

20 return True 

21 

22 

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")