ONE - On-device Neural Engine
Loading...
Searching...
No Matches
loco::FeatureShape Class Referencefinal

Feature Map Shape. More...

#include <FeatureShape.h>

Public Member Functions

 FeatureShape ()=default
 
const Dimensioncount (void) const
 
Dimensioncount (void)
 
const Dimensiondepth (void) const
 
Dimensiondepth (void)
 
const Dimensionheight (void) const
 
Dimensionheight (void)
 
const Dimensionwidth (void) const
 
Dimensionwidth (void)
 

Detailed Description

Feature Map Shape.

This class describes the shape of feature maps, which serves as the input/output of 2D convolutional operations (e.g. Convolution).

Each feature map is a collection of 3D features conceptually. Each feature has depth, height, width.

count() refers to the number of features in a feature map depth() refers to the depth of features in a given feature map height() refers to the height of features in a given feature map width() refers to the width of features in a given feature map

Definition at line 39 of file FeatureShape.h.

Constructor & Destructor Documentation

◆ FeatureShape()

loco::FeatureShape::FeatureShape ( )
default

Member Function Documentation

◆ count() [1/2]

Dimension & loco::FeatureShape::count ( void  )
inline

Definition at line 46 of file FeatureShape.h.

46{ return _count; }

◆ count() [2/2]

◆ depth() [1/2]

Dimension & loco::FeatureShape::depth ( void  )
inline

Definition at line 49 of file FeatureShape.h.

49{ return _depth; }

◆ depth() [2/2]

◆ height() [1/2]

Dimension & loco::FeatureShape::height ( void  )
inline

Definition at line 52 of file FeatureShape.h.

52{ return _height; }

◆ height() [2/2]

◆ width() [1/2]

Dimension & loco::FeatureShape::width ( void  )
inline

Definition at line 55 of file FeatureShape.h.

55{ return _width; }

◆ width() [2/2]


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