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

#include <TFStridedSlice.h>

Collaboration diagram for moco::TFStridedSlice:

Public Member Functions

 TFStridedSlice ()=default
 
Nodeinput (void) const
 
void input (Node *node)
 
Nodebegin (void) const
 
void begin (Node *node)
 
Nodeend (void) const
 
void end (Node *node)
 
Nodestrides (void) const
 
void strides (Node *node)
 
int32_t begin_mask (void) const
 
void begin_mask (int32_t begin_mask)
 
int32_t end_mask (void) const
 
void end_mask (int32_t end_mask)
 
int32_t ellipsis_mask (void) const
 
void ellipsis_mask (int32_t ellipsis_mask)
 
int32_t new_axis_mask (void) const
 
void new_axis_mask (int32_t new_axis_mask)
 
int32_t shrink_axis_mask (void) const
 
void shrink_axis_mask (int32_t shrink_axis_mask)
 
- Public Member Functions inherited from moco::FixedArityNode< 4, TFNodeImpl< TFOpcode::StridedSlice > >
 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::StridedSlice >
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< 4, TFNodeImpl< TFOpcode::StridedSlice > >
loco::Useat (unsigned n) const
 

Detailed Description

Note
TFStridedSlice corresponds to the following GraphDef

Definition at line 79 of file TFStridedSlice.h.

Constructor & Destructor Documentation

◆ TFStridedSlice()

moco::TFStridedSlice::TFStridedSlice ( )
default

Member Function Documentation

◆ begin() [1/2]

void moco::TFStridedSlice::begin ( Node node)
inline

Definition at line 89 of file TFStridedSlice.h.

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

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

◆ begin() [2/2]

Node * moco::TFStridedSlice::begin ( void  ) const
inline

◆ begin_mask() [1/2]

void moco::TFStridedSlice::begin_mask ( int32_t  begin_mask)
inline

Definition at line 99 of file TFStridedSlice.h.

99{ _begin_mask = begin_mask; }
int32_t begin_mask(void) const

References begin_mask().

Referenced by begin_mask().

◆ begin_mask() [2/2]

int32_t moco::TFStridedSlice::begin_mask ( void  ) const
inline

Definition at line 98 of file TFStridedSlice.h.

98{ return _begin_mask; }

◆ ellipsis_mask() [1/2]

void moco::TFStridedSlice::ellipsis_mask ( int32_t  ellipsis_mask)
inline

Definition at line 105 of file TFStridedSlice.h.

105{ _ellipsis_mask = ellipsis_mask; }
int32_t ellipsis_mask(void) const

References ellipsis_mask().

Referenced by ellipsis_mask().

◆ ellipsis_mask() [2/2]

int32_t moco::TFStridedSlice::ellipsis_mask ( void  ) const
inline

Definition at line 104 of file TFStridedSlice.h.

104{ return _ellipsis_mask; }

◆ end() [1/2]

void moco::TFStridedSlice::end ( Node node)
inline

◆ end() [2/2]

Node * moco::TFStridedSlice::end ( void  ) const
inline

◆ end_mask() [1/2]

void moco::TFStridedSlice::end_mask ( int32_t  end_mask)
inline

Definition at line 102 of file TFStridedSlice.h.

102{ _end_mask = end_mask; }
int32_t end_mask(void) const

References end_mask().

Referenced by end_mask().

◆ end_mask() [2/2]

int32_t moco::TFStridedSlice::end_mask ( void  ) const
inline

Definition at line 101 of file TFStridedSlice.h.

101{ return _end_mask; }

◆ input() [1/2]

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

◆ input() [2/2]

Node * moco::TFStridedSlice::input ( void  ) const
inline

◆ new_axis_mask() [1/2]

void moco::TFStridedSlice::new_axis_mask ( int32_t  new_axis_mask)
inline

Definition at line 108 of file TFStridedSlice.h.

108{ _new_axis_mask = new_axis_mask; }
int32_t new_axis_mask(void) const

References new_axis_mask().

Referenced by new_axis_mask().

◆ new_axis_mask() [2/2]

int32_t moco::TFStridedSlice::new_axis_mask ( void  ) const
inline

Definition at line 107 of file TFStridedSlice.h.

107{ return _new_axis_mask; }

◆ shrink_axis_mask() [1/2]

void moco::TFStridedSlice::shrink_axis_mask ( int32_t  shrink_axis_mask)
inline

Definition at line 111 of file TFStridedSlice.h.

111{ _shrink_axis_mask = shrink_axis_mask; }
int32_t shrink_axis_mask(void) const

References shrink_axis_mask().

Referenced by shrink_axis_mask().

◆ shrink_axis_mask() [2/2]

int32_t moco::TFStridedSlice::shrink_axis_mask ( void  ) const
inline

Definition at line 110 of file TFStridedSlice.h.

110{ return _shrink_axis_mask; }

◆ strides() [1/2]

void moco::TFStridedSlice::strides ( Node node)
inline

◆ strides() [2/2]

Node * moco::TFStridedSlice::strides ( void  ) const
inline

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