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

Method GetNumBytes

src/armnn/Tensor.cpp:427–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427unsigned int TensorInfo::GetNumBytes() const
428{
429 return GetDataTypeSize(m_DataType) * GetNumElements();
430}
431
432bool TensorInfo::IsTypeSpaceMatch(const TensorInfo& other) const
433{

Callers 15

PrepareTensorsMethod · 0.45
VisitSplitVOperatorFunction · 0.45
VisitSplitVOperatorFunction · 0.45
ParseConstantMethod · 0.45
CreateConstTensorInfoMethod · 0.45
VerifyConstTensorsMethod · 0.45
CreateConstTensorImplFunction · 0.45

Calls 1

GetDataTypeSizeFunction · 0.85

Tested by 2

VerifyConstTensorsMethod · 0.36
CheckConstTensorsMethod · 0.36