| 52 | void set_mode_gpu() { Caffe::set_mode(Caffe::GPU); } |
| 53 | |
| 54 | void InitLog() { |
| 55 | ::google::InitGoogleLogging(""); |
| 56 | ::google::InstallFailureSignalHandler(); |
| 57 | } |
| 58 | void InitLogLevel(int level) { |
| 59 | FLAGS_minloglevel = level; |
| 60 | InitLog(); |
no outgoing calls
no test coverage detected