Class TensorLoad#

Inheritance Relationships#

Base Type#

Class Documentation#

class TensorLoad : public tvm::PrimExpr#

Managed reference to TensorLoadObj.

Public Types

using ContainerType = TensorLoadObj#

Public Functions

TensorLoad(Expr source, ffi::Array<PrimExpr> indices, Location loc = UnknownLoc())#

Construct a load using the inference hook on the runtime class of source->ty.

explicit TensorLoad(ffi::ObjectPtr<TensorLoadObj> node)#

Wrap an existing node, requiring a concrete primitive result type.

inline explicit TensorLoad(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#
inline TensorLoadObj *CopyOnWrite()#

Public Static Functions

static TensorLoad Unchecked(PrimType ty, Expr source, ffi::Array<PrimExpr> indices, Location loc = UnknownLoc())#

Construct with an explicit primitive result type, bypassing source-type inference.