Caffe2 - C++ API
A deep learning, cross platform ML framework
snpe_globals.cc
1 #include "snpe_ffi.h"
2 #include <atomic>
3 #include <mutex>
4 
5 namespace caffe2 {
6 
7 static std::once_flag flag;
8 std::string& gSNPELocation() {
9  static std::string g_snpe_location;
10  std::call_once(flag, [](){
11  g_snpe_location = "";
12  });
13  return g_snpe_location;
14 }
15 
16 }
17 
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13