PandA-2024.02
Public Member Functions | Private Attributes
OpEdgeSorter Class Reference

#include <op_graph.hpp>

Inheritance diagram for OpEdgeSorter:
Inheritance graph
[legend]
Collaboration diagram for OpEdgeSorter:
Collaboration graph
[legend]

Public Member Functions

 OpEdgeSorter (const OpGraphConstRef op_graph)
 Constructor. More...
 
bool operator() (const EdgeDescriptor x, const EdgeDescriptor y) const
 Compare position of two edges. More...
 

Private Attributes

OpGraphConstRef op_graph
 The operation graph to which vertices belong Note: this should be const, but can not because of assignment operator. More...
 

Detailed Description

Definition at line 679 of file op_graph.hpp.

Constructor & Destructor Documentation

◆ OpEdgeSorter()

OpEdgeSorter::OpEdgeSorter ( const OpGraphConstRef  op_graph)
explicit

Constructor.

Parameters
op_graphis the operation graph to which vertices belong

Definition at line 304 of file op_graph.cpp.

Member Function Documentation

◆ operator()()

bool OpEdgeSorter::operator() ( const EdgeDescriptor  x,
const EdgeDescriptor  y 
) const

Compare position of two edges.

Parameters
xis the first edge
yis the second edge
Returns
true if x < y

Definition at line 308 of file op_graph.cpp.

References GET_NAME, op_graph, and lenet_tvm::target.

Field Documentation

◆ op_graph

OpGraphConstRef OpEdgeSorter::op_graph
private

The operation graph to which vertices belong Note: this should be const, but can not because of assignment operator.

Definition at line 684 of file op_graph.hpp.

Referenced by operator()().


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

Generated on Mon Feb 12 2024 13:03:59 for PandA-2024.02 by doxygen 1.8.13