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

#include <LayerSupportRules.hpp>

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

Public Member Functions

 ShapesAreSameTotalSize (const TensorInfo &info0, const TensorInfo &info1)
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 145 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ ShapesAreSameTotalSize()

ShapesAreSameTotalSize ( const TensorInfo & info0,
const TensorInfo & info1 )
inline

Definition at line 147 of file LayerSupportRules.hpp.

148 {
149 m_Res = info0.GetNumElements() == info1.GetNumElements();
150 }

References TensorInfo::GetNumElements(), and Rule::m_Res.


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