tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
tvm::Range Class Reference

Range container
More...

#include <expr.h>

Inheritance diagram for tvm::Range:
Collaboration diagram for tvm::Range:

Public Member Functions

TVM_TIRX_DLL Range (PrimExpr begin, PrimExpr end, Location loc=UnknownLoc())
 constructor by begin and end
 
 Range (ffi::UnsafeInit tag, ffi::ObjectPtr< RangeNode > n)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Range, ffi::ObjectRef, RangeNode)
 

Static Public Member Functions

static TVM_TIRX_DLL Range FromMinExtent (PrimExpr min, PrimExpr extent, Location loc=UnknownLoc())
 construct a new range with min and extent The corresponding constructor is removed, because that is counter convention of tradition meaning of range(begin, end)
 

Detailed Description

Range container

Constructor & Destructor Documentation

◆ Range() [1/2]

TVM_TIRX_DLL tvm::Range::Range ( PrimExpr  begin,
PrimExpr  end,
Location  loc = UnknownLoc() 
)

constructor by begin and end

Parameters
beginThe begin of the range.
endThe end of the range.
locThe location of the Range in the source.

◆ Range() [2/2]

tvm::Range::Range ( ffi::UnsafeInit  tag,
ffi::ObjectPtr< RangeNode >  n 
)
inlineexplicit

Member Function Documentation

◆ FromMinExtent()

static TVM_TIRX_DLL Range tvm::Range::FromMinExtent ( PrimExpr  min,
PrimExpr  extent,
Location  loc = UnknownLoc() 
)
static

construct a new range with min and extent The corresponding constructor is removed, because that is counter convention of tradition meaning of range(begin, end)

Parameters
minThe minimum range.
extentThe extent of the range.
locThe location of the Range in the source.

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::Range::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( Range  ,
ffi::ObjectRef  ,
RangeNode   
)

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