Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
427
unsigned int TensorInfo::GetNumBytes() const
428
{
429
return GetDataTypeSize(m_DataType) * GetNumElements();
430
}
431
432
bool TensorInfo::IsTypeSpaceMatch(const TensorInfo& other) const
433
{
Callers
15
PrepareTensors
Method · 0.45
VisitBatchToSpaceNdOperator
Function · 0.45
VisitSpaceToBatchNdOperator
Function · 0.45
VisitSplitVOperator
Function · 0.45
VisitBatchToSpaceNdOperator
Function · 0.45
VisitSpaceToBatchNdOperator
Function · 0.45
VisitSplitVOperator
Function · 0.45
ParseConstant
Method · 0.45
ParseDepthwiseConvolution2d
Method · 0.45
CreateConstTensorInfo
Method · 0.45
VerifyConstTensors
Method · 0.45
CreateConstTensorImpl
Function · 0.45
Calls
1
GetDataTypeSize
Function · 0.85
Tested by
2
VerifyConstTensors
Method · 0.36
CheckConstTensors
Method · 0.36