Home
last modified time | relevance | path

Searched refs:data_uint8 (Results 1 – 2 of 2) sorted by relevance

/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/utils/
H A Dcaffe2_train_and_dump_pb.py108 data_uint8, label = brew.db_input(
116 print(data_uint8._from_net)
119 data = model.Cast(data_uint8, "data", to=core.DataType.FLOAT)
/dports/graphics/colmap/colmap-3.6/src/feature/
H A Dsift.cc436 const std::vector<uint8_t> data_uint8 = bitmap.ConvertToRowMajorArray(); in ExtractSiftFeaturesCPU() local
437 std::vector<float> data_float(data_uint8.size()); in ExtractSiftFeaturesCPU()
438 for (size_t i = 0; i < data_uint8.size(); ++i) { in ExtractSiftFeaturesCPU()
439 data_float[i] = static_cast<float>(data_uint8[i]) / 255.0f; in ExtractSiftFeaturesCPU()
607 const std::vector<uint8_t> data_uint8 = bitmap.ConvertToRowMajorArray(); in ExtractCovariantSiftFeaturesCPU() local
608 std::vector<float> data_float(data_uint8.size()); in ExtractCovariantSiftFeaturesCPU()
609 for (size_t i = 0; i < data_uint8.size(); ++i) { in ExtractCovariantSiftFeaturesCPU()
610 data_float[i] = static_cast<float>(data_uint8[i]) / 255.0f; in ExtractCovariantSiftFeaturesCPU()