MCPcopy Create free account
hub / github.com/ARM-software/armnn / PutData

Function PutData

tests/InferenceTestImage.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45inline 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
55std::vector<float> ResizeBilinearAndNormalize(const InferenceTestImage & image,
56 const unsigned int outputWidth,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected