ONE - On-device Neural Engine
Loading...
Searching...
No Matches
coco::FeatureObject Class Referencefinal

FeatureMap values (used in CNN) More...

#include <FeatureObject.h>

Collaboration diagram for coco::FeatureObject:

Public Member Functions

 FeatureObject ()=default
 
 ~FeatureObject ()
 
Object::Kind kind (void) const override
 
FeatureObjectasFeature (void) override
 
const FeatureObjectasFeature (void) const override
 
const FeatureShapeshape (void) const
 
const FeatureLayoutlayout (void) const
 
void layout (std::unique_ptr< FeatureLayout > &&l)
 
- Public Member Functions inherited from coco::Object
 Object ()
 
virtual ~Object ()=default
 
coco::Bagbag (void) const
 
void bag (coco::Bag *bag)
 
virtual KernelObjectasKernel (void)
 
virtual const KernelObjectasKernel (void) const
 
Defdef (void) const
 
const UseSetuses (void) const
 
- Public Member Functions inherited from coco::Entity
virtual ~Entity ()=default
 
Modulemodule (void) const
 

Additional Inherited Members

- Public Types inherited from coco::Object
enum class  Kind { Unknown , Feature , Kernel }
 
using ConsumerSet = std::set< Consumer * >
 

Detailed Description

FeatureMap values (used in CNN)

Definition at line 35 of file FeatureObject.h.

Constructor & Destructor Documentation

◆ FeatureObject()

coco::FeatureObject::FeatureObject ( )
default

◆ ~FeatureObject()

coco::FeatureObject::~FeatureObject ( )

Definition at line 24 of file FeatureObject.cpp.

25{
26 // DO NOTHING
27}

Member Function Documentation

◆ asFeature() [1/2]

const FeatureObject * coco::FeatureObject::asFeature ( void  ) const
inlineoverridevirtual

Reimplemented from coco::Object.

Definition at line 48 of file FeatureObject.h.

48{ return this; }

◆ asFeature() [2/2]

FeatureObject * coco::FeatureObject::asFeature ( void  )
inlineoverridevirtual

Reimplemented from coco::Object.

Definition at line 47 of file FeatureObject.h.

47{ return this; }

Referenced by tflimport::build_activation().

◆ kind()

Object::Kind coco::FeatureObject::kind ( void  ) const
inlineoverridevirtual

Reimplemented from coco::Object.

Definition at line 44 of file FeatureObject.h.

44{ return Object::Kind::Feature; }

◆ layout() [1/2]

void coco::FeatureObject::layout ( std::unique_ptr< FeatureLayout > &&  l)
inline

Definition at line 55 of file FeatureObject.h.

55{ _layout = std::move(l); }

◆ layout() [2/2]

◆ shape()


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