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

Method IsAtLeastOneDimensionSpecified

src/armnn/Tensor.cpp:257–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257bool TensorShape::IsAtLeastOneDimensionSpecified() const
258{
259 CheckUnspecifiedNumDimensions();
260
261 bool isAtLeastOneDimensionSpecified = false;
262 for (unsigned int i = 0; i < m_NumDimensions; ++i)
263 {
264 if (m_DimensionsSpecificity[i])
265 {
266 isAtLeastOneDimensionSpecified = true;
267 break;
268 }
269 }
270 return isAtLeastOneDimensionSpecified;
271}
272
273void TensorShape::CheckDimensionIndex(unsigned int i) const
274{

Callers 1

TensorTest.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected