Caffe2 - C++ API
A deep learning, cross platform ML framework
snpe_globals.cc
1 
17 #include "snpe_ffi.h"
18 #include <atomic>
19 #include <mutex>
20 
21 namespace caffe2 {
22 
23 static std::once_flag flag;
24 std::string& gSNPELocation() {
25  static std::string g_snpe_location;
26  std::call_once(flag, [](){
27  g_snpe_location = "";
28  });
29  return g_snpe_location;
30 }
31 
32 }
33 
Copyright (c) 2016-present, Facebook, Inc.