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

Function DecodeFloats

rtpose_wrapper/src/caffe/data_transformer.cpp:566–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564// CPM extra code: public and protected methods/structs/etc below
565template<typename Dtype>
566void DecodeFloats(const string& data, size_t idx, Dtype* pf, size_t len) {
567 memcpy(pf, const_cast<char*>(&data[idx]), len * sizeof(Dtype));
568}
569
570string DecodeString(const string& data, size_t idx) {
571 string result = "";

Callers 1

ReadMetaDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected