Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions | Static Public Attributes
nom::matcher::MatchPredicate< GraphType > Class Template Reference

MatchGraph is a graph of MatchPredicate. More...

#include <SubgraphMatcher.h>

Public Types

using Predicate = std::function< bool(typename GraphType::NodeRef)>

Public Member Functions

 MatchPredicate (const Predicate &criteria)
 MatchPredicate (const MatchPredicate &)=default
MatchPredicateoperator= (const MatchPredicate &)=default
 MatchPredicate (MatchPredicate &&)=default
Predicate getCriteria () const
int getCount () const
MatchPredicate< GraphType > & count (int count)
MatchPredicate< GraphType > & starCount ()
MatchPredicate< GraphType > & nonTerminal ()
MatchPredicate< GraphType > & excludeFromSubgraph ()
bool isNonTerminal () const
bool shouldIncludeInSubgraph () const
std::string getDebugString () const
void setDebugString (const std::string &debugString)

Static Public Attributes

static const int kStarCount = -1

Detailed Description

template<typename GraphType>
class nom::matcher::MatchPredicate< GraphType >

MatchGraph is a graph of MatchPredicate.

MatchPredicate needs a predicate for node matching and

Definition at line 32 of file SubgraphMatcher.h.

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