ONE - On-device Neural Engine
Loading...
Searching...
No Matches
loco::GraphOutputIndexQueryService Struct Referenceabstract

#include <Graph.h>

Collaboration diagram for loco::GraphOutputIndexQueryService:

Public Member Functions

virtual ~GraphOutputIndexQueryService ()=default
 
virtual bool associated (const Node *node) const =0
 Check whether a given node is associated with any Graph-level output.
 
virtual GraphOutputIndex index (const Node *node) const =0
 
- Public Member Functions inherited from loco::DialectService
virtual ~DialectService ()=default
 

Detailed Description

Definition at line 250 of file Graph.h.

Constructor & Destructor Documentation

◆ ~GraphOutputIndexQueryService()

virtual loco::GraphOutputIndexQueryService::~GraphOutputIndexQueryService ( )
virtualdefault

Member Function Documentation

◆ associated()

virtual bool loco::GraphOutputIndexQueryService::associated ( const Node node) const
pure virtual

Check whether a given node is associated with any Graph-level output.

◆ index()

virtual GraphOutputIndex loco::GraphOutputIndexQueryService::index ( const Node node) const
pure virtual

Exceptions

  • index SHOULD throw std::invalid_argument exception if a given node is not associated with any output (i.e. assocaited above returns false).

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