diff options
author | Idriss Chaouch <idriss.chaouch@arm.com> | 2023-08-28 14:28:31 +0100 |
---|---|---|
committer | Idriss Chaouch <idriss.chaouch@arm.com> | 2023-08-31 11:26:28 +0100 |
commit | 98e383eadf4e670d057ad725c7fe7924fea8e36b (patch) | |
tree | 35acac15aa69ab405887289cb9674d388f06f96b /include/armnn/Descriptors.hpp | |
parent | 2be039bce38a4fa436e8310dfe14ebfff20d57bd (diff) | |
download | armnn-98e383eadf4e670d057ad725c7fe7924fea8e36b.tar.gz |
IVGCVSW-7525 Add broadcast_to operator
Signed-off-by: Idriss Chaouch <idriss.chaouch@arm.com>
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I94ec5f9120b2d736fdf98d00ec5137a4efd739b8
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r-- | include/armnn/Descriptors.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp index 30eaefd83b..bf40b35ae9 100644 --- a/include/armnn/Descriptors.hpp +++ b/include/armnn/Descriptors.hpp @@ -1656,4 +1656,23 @@ struct TileDescriptor : BaseDescriptor std::vector<uint32_t> m_Multiples; }; +struct BroadcastToDescriptor : BaseDescriptor +{ + BroadcastToDescriptor() + : m_BroadcastToShape() + {} + + explicit BroadcastToDescriptor(const TensorShape& shape) + : m_BroadcastToShape(shape) + {} + + bool operator ==(const BroadcastToDescriptor& rhs) const + { + return m_BroadcastToShape == rhs.m_BroadcastToShape; + } + + /// Target shape value. + TensorShape m_BroadcastToShape; +}; + } // namespace armnn |