ArmNN
 25.11
Loading...
Searching...
No Matches
TosaTensorNumDimensionsWithinBounds Struct Reference

#include <TosaLayerSupportRules.hpp>

Inheritance diagram for TosaTensorNumDimensionsWithinBounds:
[legend]
Collaboration diagram for TosaTensorNumDimensionsWithinBounds:
[legend]

Public Member Functions

 TosaTensorNumDimensionsWithinBounds (TosaSerializationTensor *tensor)
Public Member Functions inherited from Rule
bool operator() () const

Additional Inherited Members

Public Attributes inherited from Rule
bool m_Res = true

Detailed Description

Definition at line 39 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaTensorNumDimensionsWithinBounds()

TosaTensorNumDimensionsWithinBounds ( TosaSerializationTensor * tensor)
inlineexplicit

Definition at line 41 of file TosaLayerSupportRules.hpp.

42 {
43 m_Res = (tensor->GetShape().size() <= MaxNumOfTensorDimensions) || (!tensor->GetShape().empty());
44 }
constexpr unsigned int MaxNumOfTensorDimensions
Definition Types.hpp:31

References Rule::m_Res, and armnn::MaxNumOfTensorDimensions.


The documentation for this struct was generated from the following file: