Class TensorRegion#

Inheritance Relationships#

Base Type#

Class Documentation#

class TensorRegion : public tvm::Expr#

Managed reference to TensorRegionObj.

Public Types

using ContainerType = TensorRegionObj#

Public Functions

TensorRegion(Expr source, ffi::Array<Range> region, Type ty, Location loc = UnknownLoc())#
inline explicit TensorRegion(ffi::ObjectPtr<TensorRegionObj> node)#
inline explicit TensorRegion(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#
inline TensorRegionObj *CopyOnWrite()#

Public Static Functions

static TensorRegion FromTensorLoad(TensorLoad value)#

Convert a tensor load to a region with unit extent at each index.

Parameters:

value – The tensor load whose source, indices and location are retained.

Returns:

The region, requiring the source to be a TIRx TensorVar.