ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
onert::ir::FeatureShape Struct Reference

Structure to have values of dimensions for feature. More...

#include <Shape.h>

Collaboration diagram for onert::ir::FeatureShape:

Public Member Functions

 FeatureShape ()=default
 Construct FeatureShape object using default constrcutor.
 
 FeatureShape (int32_t depth, int32_t height, int32_t width)
 Construct FeatureShape object with three values of dimensions.
 
 FeatureShape (int32_t batch, int32_t depth, int32_t height, int32_t width)
 Construct FeatureShape object with four values of dimensions.
 

Data Fields

int32_t N
 
int32_t C
 
int32_t H
 
int32_t W
 

Detailed Description

Structure to have values of dimensions for feature.

Definition at line 33 of file Shape.h.

Constructor & Destructor Documentation

◆ FeatureShape() [1/3]

onert::ir::FeatureShape::FeatureShape ( )
default

Construct FeatureShape object using default constrcutor.

◆ FeatureShape() [2/3]

onert::ir::FeatureShape::FeatureShape ( int32_t  depth,
int32_t  height,
int32_t  width 
)
inline

Construct FeatureShape object with three values of dimensions.

Parameters
[in]depthThe depth value
[in]heightThe height value
[in]widthThe width value

Definition at line 50 of file Shape.h.

50 : N{1}, C{depth}, H{height}, W{width}
51 {
52 // DO NOTHING
53 }

◆ FeatureShape() [3/3]

onert::ir::FeatureShape::FeatureShape ( int32_t  batch,
int32_t  depth,
int32_t  height,
int32_t  width 
)
inline

Construct FeatureShape object with four values of dimensions.

Parameters
[in]batchThe batch value
[in]depthThe depth value
[in]heightThe height value
[in]widthThe width value

Definition at line 61 of file Shape.h.

62 : N{batch}, C{depth}, H{height}, W{width}
63 {
64 // DO NOTHING
65 }

Field Documentation

◆ C

int32_t onert::ir::FeatureShape::C

◆ H

int32_t onert::ir::FeatureShape::H

◆ N

int32_t onert::ir::FeatureShape::N

◆ W

int32_t onert::ir::FeatureShape::W

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