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

Method GetNumElements

tests/InferenceTestImage.hpp:78–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 unsigned int GetHeight() const { return m_Height; }
77 unsigned int GetNumChannels() const { return m_NumChannels; }
78 unsigned int GetNumElements() const { return GetWidth() * GetHeight() * GetNumChannels(); }
79 unsigned int GetSizeInBytes() const { return GetNumElements() * GetSingleElementSizeInBytes(); }
80
81 // Returns the pixel identified by the given coordinates as a 3-channel value.

Callers 8

GetInputSizeMethod · 0.45
GetOutputSizeMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
SetupInputsAndOutputsMethod · 0.45
mainFunction · 0.45
PrintTensorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected