ONE - On-device Neural Engine
Loading...
Searching...
No Matches
TransposedConv2DLayer Struct Referencefinal

#include <GraphBuilder.h>

Data Structures

class  Return
 

Public Member Functions

std::unique_ptr< Returnoperator() (GraphBuilder::Context *ctx)
 

Detailed Description

Definition at line 451 of file GraphBuilder.h.

Member Function Documentation

◆ operator()()

std::unique_ptr< Return > TransposedConv2DLayer::operator() ( GraphBuilder::Context ctx)
inline

Definition at line 468 of file GraphBuilder.h.

469 {
470 auto tr_conv2d_node = ctx->graph()->nodes()->create<loco::TransposedConv2D>();
471
472 tr_conv2d_node->ker(ctx->stack()->pop());
473 tr_conv2d_node->ifm(ctx->stack()->pop());
474
475 ctx->stack()->push(tr_conv2d_node);
476
477 return std::make_unique<Return>(tr_conv2d_node);
478 }
loco::Graph * graph(void)
Stack * stack(void)
void push(loco::Node *node)
loco::Node * pop(void)
NodeContext * nodes(void)
Definition Graph.h:218
Derived * create(Args &&...args)
Definition NodePool.h:37
2D Transposed Convolution
Definition Nodes.h:688
Node * ker(void) const
Definition Nodes.h:693

References loco::NodePool::create(), GraphBuilder::Context::graph(), loco::TransposedConv2D::ker(), loco::Graph::nodes(), GraphBuilder::Stack::pop(), GraphBuilder::Stack::push(), and GraphBuilder::Context::stack().


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