ONE - On-device Neural Engine
Loading...
Searching...
No Matches
OutputLayer::Return Class Reference

#include <GraphBuilder.h>

Public Member Functions

 Return (loco::GraphOutput *output, loco::Push *node)
 
loco::Pushnode (void)
 
Returnname (const std::string &value)
 

Detailed Description

Definition at line 167 of file GraphBuilder.h.

Constructor & Destructor Documentation

◆ Return()

OutputLayer::Return::Return ( loco::GraphOutput output,
loco::Push node 
)
inline

Definition at line 170 of file GraphBuilder.h.

170 : _output{output}, _node{node}
171 {
172 // DO NOTHING
173 }
loco::Push * node(void)

Member Function Documentation

◆ name()

Return * OutputLayer::Return::name ( const std::string &  value)
inline

Definition at line 179 of file GraphBuilder.h.

180 {
181 // TODO Uncomment this line when GraphOutput is ready
182 // _graph_output->shape(dims)
183 _output->name(value);
184 return this;
185 }

◆ node()

loco::Push * OutputLayer::Return::node ( void  )
inline

Definition at line 176 of file GraphBuilder.h.

176{ return _node; }

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