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

Method mode

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

Returns the mode: running on CPU or GPU.

Source from the content-addressed store, hash-verified

140
141 // Returns the mode: running on CPU or GPU.
142 inline static Brew mode() { return Get().mode_; }
143 // The setters for the variables
144 // Sets the mode. It is recommended that you don't change the mode halfway
145 // into the program since that may cause allocation of pinned memory being

Callers

nothing calls this directly

Calls 1

GetClass · 0.85

Tested by

no test coverage detected