ArmNN
 24.08
TosaTensorNumDimensionsWithinBounds Struct Reference

#include <TosaLayerSupportRules.hpp>

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

Public Member Functions

 TosaTensorNumDimensionsWithinBounds (TosaSerializationTensor *tensor)
 

Detailed Description

Definition at line 34 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaTensorNumDimensionsWithinBounds()

TosaTensorNumDimensionsWithinBounds ( TosaSerializationTensor *  tensor)
inlineexplicit

Definition at line 36 of file TosaLayerSupportRules.hpp.

37  {
38  m_Res = (tensor->GetShape().size() <= MaxNumOfTensorDimensions) || (!tensor->GetShape().empty());
39  }

References armnn::MaxNumOfTensorDimensions.


The documentation for this struct was generated from the following file:
armnn::MaxNumOfTensorDimensions
constexpr unsigned int MaxNumOfTensorDimensions
Definition: Types.hpp:31