ArmNN
 21.08
SliceDescriptor Struct Reference

A SliceDescriptor for the SliceLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for SliceDescriptor:
BaseDescriptor

Public Member Functions

 SliceDescriptor (const std::vector< unsigned int > &begin, const std::vector< unsigned int > &size)
 
 SliceDescriptor ()
 
bool operator== (const SliceDescriptor &rhs) const
 

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 1019 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 1021 of file Descriptors.hpp.

1022  : m_Begin(begin)
1023  , m_Size(size)
1024  {}
std::vector< unsigned int > m_Size
Size of the slice in each dimension.
std::vector< unsigned int > m_Begin
Beginning indices of the slice in each dimension.

◆ SliceDescriptor() [2/2]

SliceDescriptor ( )
inline

Definition at line 1026 of file Descriptors.hpp.

1026  : SliceDescriptor({}, {})
1027  {}

Member Function Documentation

◆ operator==()

bool operator== ( const SliceDescriptor rhs) const
inline

Definition at line 1029 of file Descriptors.hpp.

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

1030  {
1031  return m_Begin == rhs.m_Begin && m_Size == rhs.m_Size;
1032  }
std::vector< unsigned int > m_Size
Size of the slice in each dimension.
std::vector< unsigned int > m_Begin
Beginning indices of the slice in each dimension.

Member Data Documentation

◆ m_Begin

◆ m_Size


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