ONE - On-device Neural Engine
Loading...
Searching...
No Matches
coco::Window2D Class Reference

#include <Window2D.h>

Public Member Functions

 Window2D ()
 
 Window2D (uint32_t vertical, uint32_t horizontal)
 
uint32_t height (void) const
 
void height (uint32_t value)
 
uint32_t width (void) const
 
void width (uint32_t value)
 

Detailed Description

Definition at line 25 of file Window2D.h.

Constructor & Destructor Documentation

◆ Window2D() [1/2]

coco::Window2D::Window2D ( )
inline

Definition at line 28 of file Window2D.h.

28 : _vertical{1}, _horizontal{1}
29 {
30 // DO NOTHING
31 }

◆ Window2D() [2/2]

coco::Window2D::Window2D ( uint32_t  vertical,
uint32_t  horizontal 
)
inline

Definition at line 34 of file Window2D.h.

34 : _vertical{vertical}, _horizontal{horizontal}
35 {
36 // DO NOTHING
37 }

Member Function Documentation

◆ height() [1/2]

void coco::Window2D::height ( uint32_t  value)
inline

Definition at line 41 of file Window2D.h.

41{ _vertical = value; }

◆ height() [2/2]

uint32_t coco::Window2D::height ( void  ) const
inline

Definition at line 40 of file Window2D.h.

40{ return _vertical; }

Referenced by tflimport::MaxPool2DGraphBuilder::build().

◆ width() [1/2]

void coco::Window2D::width ( uint32_t  value)
inline

Definition at line 45 of file Window2D.h.

45{ _horizontal = value; }

◆ width() [2/2]

uint32_t coco::Window2D::width ( void  ) const
inline

Definition at line 44 of file Window2D.h.

44{ return _horizontal; }

Referenced by tflimport::MaxPool2DGraphBuilder::build().


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