Searched refs:data_uint8 (Results 1 – 2 of 2) sorted by relevance
108 data_uint8, label = brew.db_input(116 print(data_uint8._from_net)119 data = model.Cast(data_uint8, "data", to=core.DataType.FLOAT)
436 const std::vector<uint8_t> data_uint8 = bitmap.ConvertToRowMajorArray(); in ExtractSiftFeaturesCPU() local437 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() local608 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()