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

#include <Graph.h>

Collaboration diagram for loco::GraphInputIndexQueryService:

Public Member Functions

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

Detailed Description

Definition at line 231 of file Graph.h.

Constructor & Destructor Documentation

◆ ~GraphInputIndexQueryService()

virtual loco::GraphInputIndexQueryService::~GraphInputIndexQueryService ( )
virtualdefault

Member Function Documentation

◆ associated()

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

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

◆ index()

virtual GraphInputIndex loco::GraphInputIndexQueryService::index ( const Node node) const
pure virtual

Exceptions

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

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