MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / set_mode

Method set_mode

rtpose_wrapper/include/caffe/common.hpp:148–148  ·  view source on GitHub ↗

The setters for the variables Sets the mode. It is recommended that you don't change the mode halfway into the program since that may cause allocation of pinned memory being freed in a non-pinned way, which may cause problems - I haven't verified it personally but better to note it here in the header file.

Source from the content-addressed store, hash-verified

146 // freed in a non-pinned way, which may cause problems - I haven't verified
147 // it personally but better to note it here in the header file.
148 inline static void set_mode(Brew mode) { Get().mode_ = mode; }
149 // Sets the random seed of both boost and curand
150 static void set_random_seed(const unsigned int seed);
151 // Sets the device. Since we have cublas and curand stuff, set device also

Callers

nothing calls this directly

Calls 1

GetClass · 0.85

Tested by

no test coverage detected