ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::DomainInfo Class Reference

#include <DomainInfo.h>

Public Member Functions

 DomainInfo (std::initializer_list< uint32_t > dims)
 
uint32_t rank (void) const
 
uint32_t dim (uint32_t axis) const
 

Detailed Description

Definition at line 28 of file DomainInfo.h.

Constructor & Destructor Documentation

◆ DomainInfo()

nest::DomainInfo::DomainInfo ( std::initializer_list< uint32_t >  dims)
inline

Definition at line 31 of file DomainInfo.h.

31 : _dims{dims}
32 {
33 // DO NOTHING
34 }

Member Function Documentation

◆ dim()

uint32_t nest::DomainInfo::dim ( uint32_t  axis) const
inline

Definition at line 40 of file DomainInfo.h.

40{ return _dims.at(axis); }

◆ rank()

uint32_t nest::DomainInfo::rank ( void  ) const
inline

Definition at line 37 of file DomainInfo.h.

37{ return _dims.size(); }

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