tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::script::printer::SliceDocNode Class Reference

Doc that represents slice in Index expression. More...

#include <doc.h>

Inheritance diagram for tvm::script::printer::SliceDocNode:
Collaboration diagram for tvm::script::printer::SliceDocNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (SliceDocNode, DocNode)
 
- Public Member Functions inherited from tvm::script::printer::DocNode
 TVM_DECLARE_BASE_OBJECT_INFO (DocNode, Object)
 
virtual ~DocNode ()=default
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::DocNode
static void RegisterReflection ()
 

Public Attributes

Optional< ExprDocstart
 The start of slice. More...
 
Optional< ExprDocstop
 The exclusive end of slice. More...
 
Optional< ExprDocstep
 The step of slice. More...
 
- Public Attributes inherited from tvm::script::printer::DocNode
Array< ffi::reflection::AccessPath > source_paths
 The list of object paths of the source IR node. More...
 

Static Public Attributes

static constexpr const char * _type_key = "script.printer.SliceDoc"
 
- Static Public Attributes inherited from tvm::script::printer::DocNode
static constexpr const char * _type_key = "script.printer.Doc"
 
static constexpr bool _type_mutable = true
 

Detailed Description

Doc that represents slice in Index expression.

This doc can only appear in IndexDoc::indices.

See also
AttrAccessDoc

Member Function Documentation

◆ RegisterReflection()

static void tvm::script::printer::SliceDocNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::script::printer::SliceDocNode::TVM_DECLARE_FINAL_OBJECT_INFO ( SliceDocNode  ,
DocNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::script::printer::SliceDocNode::_type_key = "script.printer.SliceDoc"
staticconstexpr

◆ start

Optional<ExprDoc> tvm::script::printer::SliceDocNode::start

The start of slice.

◆ step

Optional<ExprDoc> tvm::script::printer::SliceDocNode::step

The step of slice.

◆ stop

Optional<ExprDoc> tvm::script::printer::SliceDocNode::stop

The exclusive end of slice.


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