ONE - On-device Neural Engine
Loading...
Searching...
No Matches
GraphTestcase< GraphCode::Relu > Class Referencefinal

#include <GraphTestcase.h>

Collaboration diagram for GraphTestcase< GraphCode::Relu >:

Public Member Functions

 GraphTestcase ()
 
loco::Graphgraph ()
 

Data Fields

loco::Pullpull_node = nullptr
 
loco::ReLUrelu_node = nullptr
 
loco::Pushpush_node = nullptr
 

Detailed Description

Definition at line 144 of file GraphTestcase.h.

Constructor & Destructor Documentation

◆ GraphTestcase()

Definition at line 147 of file GraphTestcase.h.

148 {
149 // Create a sample network
150 _graph = loco::make_graph();
151
152 auto graph_builder = make_graph_builder(_graph.get());
153
154 pull_node = graph_builder->push<InputLayer>()->name("input")->node();
155 relu_node = graph_builder->push<ReLULayer>()->node();
156 push_node = graph_builder->push<OutputLayer>()->name("output")->node();
157 }
std::unique_ptr< Graph > make_graph(void)
Definition Graph.cpp:131

References loco::make_graph().

Member Function Documentation

◆ graph()

Field Documentation

◆ pull_node

loco::Pull* GraphTestcase< GraphCode::Relu >::pull_node = nullptr

Definition at line 162 of file GraphTestcase.h.

◆ push_node

loco::Push* GraphTestcase< GraphCode::Relu >::push_node = nullptr

Definition at line 164 of file GraphTestcase.h.

◆ relu_node

loco::ReLU* GraphTestcase< GraphCode::Relu >::relu_node = nullptr

Definition at line 163 of file GraphTestcase.h.


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