ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::CircleSqueeze Class Referencefinal

SQUEEZE in Circle. More...

#include <CircleSqueeze.h>

Collaboration diagram for luci::CircleSqueeze:

Public Member Functions

loco::Nodeinput (void) const
 
void input (loco::Node *node)
 
const std::vector< int32_t > & squeeze_dims () const
 
void squeeze_dims (const std::vector< int32_t > &squeeze_dims)
 
- Public Member Functions inherited from luci::FixedArityNode< 1, CircleNodeImpl< CircleOpcode::SQUEEZE > >
 FixedArityNode ()
 
virtual ~FixedArityNode ()=default
 
uint32_t arity (void) const final
 
loco::Nodearg (uint32_t n) const final
 
void drop (void) final
 
- Public Member Functions inherited from luci::CircleNodeImpl< CircleOpcode::SQUEEZE >
virtual ~CircleNodeImpl ()=default
 
uint32_t opnum (void) const final
 
CircleOpcode opcode (void) const final
 
- Public Member Functions inherited from luci::CircleNode
virtual ~CircleNode ()=default
 
const loco::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (CircleNodeVisitorBase< T > *) const
 
template<typename T >
accept (CircleNodeMutableVisitorBase< T > *)
 
NodeName name (void) const
 
void name (const NodeName &name)
 
CircleQuantParamquantparam (void) const
 
void quantparam (std::unique_ptr< CircleQuantParam > &&quantparam)
 
SparsityParamsparsityparam (void) const
 
void sparsityparam (std::unique_ptr< SparsityParam > &&sparsityparam)
 
ShapeStatus shape_status (void) const
 
void shape_status (ShapeStatus ss)
 
int32_t op_version (void) const
 
void op_version (int32_t op_version)
 
- 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 luci::FixedArityNode< 1, CircleNodeImpl< CircleOpcode::SQUEEZE > >
loco::Useat (uint32_t n) const
 

Detailed Description

SQUEEZE in Circle.

Definition at line 31 of file CircleSqueeze.h.

Member Function Documentation

◆ input() [1/2]

void luci::CircleSqueeze::input ( loco::Node node)
inline

◆ input() [2/2]

loco::Node * luci::CircleSqueeze::input ( void  ) const
inline

◆ squeeze_dims() [1/2]

const std::vector< int32_t > & luci::CircleSqueeze::squeeze_dims ( ) const
inline

Definition at line 38 of file CircleSqueeze.h.

38{ return _squeeze_dims; }

Referenced by luci::CloneNodeLet< CN::STUV >::visit(), and luci::BuiltinOptionsExtractor::visit().

◆ squeeze_dims() [2/2]

void luci::CircleSqueeze::squeeze_dims ( const std::vector< int32_t > &  squeeze_dims)
inline

Definition at line 39 of file CircleSqueeze.h.

39{ _squeeze_dims = squeeze_dims; };
const std::vector< int32_t > & squeeze_dims() const

References squeeze_dims().

Referenced by squeeze_dims().


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