| 43 | } |
| 44 | |
| 45 | inline void PutData(std::vector<float> & data, |
| 46 | const unsigned int width, |
| 47 | const unsigned int x, |
| 48 | const unsigned int y, |
| 49 | const unsigned int c, |
| 50 | float value) |
| 51 | { |
| 52 | data[(3*((y*width)+x)) + c] = value; |
| 53 | } |
| 54 | |
| 55 | std::vector<float> ResizeBilinearAndNormalize(const InferenceTestImage & image, |
| 56 | const unsigned int outputWidth, |
no outgoing calls
no test coverage detected