ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::FeatureShapeUpdater Class Referencefinal

#include <TFShapeInferenceHelper.h>

Public Member Functions

 FeatureShapeUpdater (loco::FeatureShape *ptr)
 
void with (const PlaneShape &plane_shape) const
 

Detailed Description

Definition at line 77 of file TFShapeInferenceHelper.h.

Constructor & Destructor Documentation

◆ FeatureShapeUpdater()

moco::FeatureShapeUpdater::FeatureShapeUpdater ( loco::FeatureShape ptr)
inline

Definition at line 80 of file TFShapeInferenceHelper.h.

80 : _feature_shape_ptr{ptr}
81 {
82 // DO NOTHING
83 }

Member Function Documentation

◆ with()

void moco::FeatureShapeUpdater::with ( const PlaneShape plane_shape) const
inline

Definition at line 86 of file TFShapeInferenceHelper.h.

87 {
88 _feature_shape_ptr->height() = plane_shape.height;
89 _feature_shape_ptr->width() = plane_shape.width;
90 }
const Dimension & height(void) const
const Dimension & width(void) const

References loco::FeatureShape::height(), moco::PlaneShape::height, loco::FeatureShape::width(), and moco::PlaneShape::width.


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