ArmNN
 24.02
SliceDescriptor Struct Reference

A SliceDescriptor for the SliceLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 SliceDescriptor (const std::vector< unsigned int > &begin, const std::vector< unsigned int > &size)
 
 SliceDescriptor ()
 
bool operator== (const SliceDescriptor &rhs) const
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 

Public Attributes

std::vector< unsigned int > m_Begin
 Beginning indices of the slice in each dimension. More...
 
std::vector< unsigned int > m_Size
 Size of the slice in each dimension. More...
 

Detailed Description

A SliceDescriptor for the SliceLayer.

Definition at line 1228 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ SliceDescriptor() [1/2]

SliceDescriptor ( const std::vector< unsigned int > &  begin,
const std::vector< unsigned int > &  size 
)
inline

Definition at line 1230 of file Descriptors.hpp.

1231  : m_Begin(begin)
1232  , m_Size(size)
1233  {}

◆ SliceDescriptor() [2/2]

SliceDescriptor ( )
inline

Definition at line 1235 of file Descriptors.hpp.

1235  : SliceDescriptor({}, {})
1236  {}

Member Function Documentation

◆ operator==()

bool operator== ( const SliceDescriptor rhs) const
inline

Definition at line 1238 of file Descriptors.hpp.

1239  {
1240  return m_Begin == rhs.m_Begin && m_Size == rhs.m_Size;
1241  }

References SliceDescriptor::m_Begin, and SliceDescriptor::m_Size.

Member Data Documentation

◆ m_Begin

std::vector<unsigned int> m_Begin

◆ m_Size


The documentation for this struct was generated from the following file:
armnn::SliceDescriptor::m_Begin
std::vector< unsigned int > m_Begin
Beginning indices of the slice in each dimension.
Definition: Descriptors.hpp:1244
armnn::SliceDescriptor::SliceDescriptor
SliceDescriptor()
Definition: Descriptors.hpp:1235
armnn::SliceDescriptor::m_Size
std::vector< unsigned int > m_Size
Size of the slice in each dimension.
Definition: Descriptors.hpp:1247