Doc that represents slice in Index expression.
More...
#include <doc.h>
|
static constexpr const char * | _type_key = "script.printer.SliceDoc" |
|
static constexpr const char * | _type_key = "script.printer.Doc" |
|
static constexpr bool | _type_mutable = true |
|
Doc that represents slice in Index expression.
This doc can only appear in IndexDoc::indices.
- See also
- AttrAccessDoc
◆ RegisterReflection()
static void tvm::script::printer::SliceDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::printer::SliceDocNode::_type_key = "script.printer.SliceDoc" |
|
staticconstexpr |
◆ start
Optional<ExprDoc> tvm::script::printer::SliceDocNode::start |
◆ step
Optional<ExprDoc> tvm::script::printer::SliceDocNode::step |
◆ stop
Optional<ExprDoc> tvm::script::printer::SliceDocNode::stop |
The exclusive end of slice.
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h