ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::TFConv2D Class Referencefinal

#include <TFConv2D.h>

Collaboration diagram for moco::TFConv2D:

Public Member Functions

loco::Nodeinput (void) const
 
void input (Node *node)
 
loco::Nodefilter (void) const
 
void filter (Node *node)
 
const TFPaddingpadding (void) const
 
void padding (const TFPadding &padding)
 
const TFDataLayoutdata_layout (void) const
 
void data_layout (const TFDataLayout &data_layout)
 
const std::vector< int64_t > & strides (void) const
 
void strides (const std::vector< int64_t > &strides)
 
- Public Member Functions inherited from moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Conv2D > >
 FixedArityNode ()
 
virtual ~FixedArityNode ()=default
 
unsigned arity (void) const final
 
loco::Nodearg (uint32_t n) const final
 
void drop (void) final
 
- Public Member Functions inherited from moco::TFNodeImpl< TFOpcode::Conv2D >
virtual ~TFNodeImpl ()=default
 
uint32_t opnum (void) const final
 
TFOpcode opcode (void) const final
 
- Public Member Functions inherited from moco::TFNode
virtual ~TFNode ()=default
 
const loco::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (TFNodeVisitorBase< T > *) const
 
template<typename T >
accept (TFNodeMutableVisitorBase< T > *)
 
NodeName name (void) const
 
void name (const NodeName &name)
 
- Public Member Functions inherited from loco::Node
 Node ()=default
 
 Node (const Node &)=delete
 
 Node (Node &&)=delete
 
virtual ~Node ()
 
Graphgraph (void)
 
const Graphgraph (void) const
 
- Public Member Functions inherited from loco::AnnotatedItem< NodeAnnotation >
 AnnotatedItem ()=default
 
virtual ~AnnotatedItem ()=default
 
const T * annot (void) const
 Retrieve a stored annotation of type T.
 
void annot (std::unique_ptr< T > &&p)
 Attach or remove a new annotation of type T.
 

Additional Inherited Members

- Protected Member Functions inherited from moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Conv2D > >
loco::Useat (unsigned n) const
 

Detailed Description

Definition at line 27 of file TFConv2D.h.

Member Function Documentation

◆ data_layout() [1/2]

void moco::TFConv2D::data_layout ( const TFDataLayout data_layout)
inline

Definition at line 41 of file TFConv2D.h.

41{ _data_layout = data_layout; }
const TFDataLayout & data_layout(void) const
Definition TFConv2D.h:40

References data_layout().

Referenced by data_layout().

◆ data_layout() [2/2]

const TFDataLayout & moco::TFConv2D::data_layout ( void  ) const
inline

Definition at line 40 of file TFConv2D.h.

40{ return _data_layout; }

◆ filter() [1/2]

void moco::TFConv2D::filter ( Node node)
inline

Definition at line 34 of file TFConv2D.h.

34{ at(1)->node(node); }
Node * node(void) const
Definition Use.h:58

References moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Conv2D > >::at(), and loco::Use::node().

◆ filter() [2/2]

loco::Node * moco::TFConv2D::filter ( void  ) const
inline

Definition at line 33 of file TFConv2D.h.

33{ return at(1)->node(); }

References moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Conv2D > >::at(), and loco::Use::node().

◆ input() [1/2]

void moco::TFConv2D::input ( Node node)
inline

Definition at line 31 of file TFConv2D.h.

31{ at(0)->node(node); }

References moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Conv2D > >::at(), and loco::Use::node().

◆ input() [2/2]

loco::Node * moco::TFConv2D::input ( void  ) const
inline

Definition at line 30 of file TFConv2D.h.

30{ return at(0)->node(); }

References moco::FixedArityNode< 2, TFNodeImpl< TFOpcode::Conv2D > >::at(), and loco::Use::node().

◆ padding() [1/2]

void moco::TFConv2D::padding ( const TFPadding padding)
inline

Definition at line 38 of file TFConv2D.h.

38{ _padding = padding; }
const TFPadding & padding(void) const
Definition TFConv2D.h:37

References padding().

Referenced by padding().

◆ padding() [2/2]

const TFPadding & moco::TFConv2D::padding ( void  ) const
inline

Definition at line 37 of file TFConv2D.h.

37{ return _padding; }

◆ strides() [1/2]

void moco::TFConv2D::strides ( const std::vector< int64_t > &  strides)
inline

Definition at line 44 of file TFConv2D.h.

44{ _strides = strides; }
const std::vector< int64_t > & strides(void) const
Definition TFConv2D.h:43

References strides().

Referenced by strides().

◆ strides() [2/2]

const std::vector< int64_t > & moco::TFConv2D::strides ( void  ) const
inline

Definition at line 43 of file TFConv2D.h.

43{ return _strides; }

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