Class GlobalVarObj#
Defined in File expr.h
Inheritance Relationships#
Base Type#
public tvm::ExprObj(Class ExprObj)
Class Documentation#
-
class GlobalVarObj : public tvm::ExprObj#
Global variable that lives in the top-level module.
A GlobalVar only refers to function definitions. This is used to enable recursive calls between function.
See also
Public Functions
-
inline bool SEqual(const GlobalVarObj *other, ffi::TypedFunction<bool(AnyView, AnyView, bool, AnyView)> equal) const#
-
inline int64_t SHash(int64_t init_hash, ffi::TypedFunction<int64_t(AnyView, int64_t, bool)> hash) const#
Public Members
-
ffi::String name_hint#
The name of the variable, this only acts as a hint.
-
inline bool SEqual(const GlobalVarObj *other, ffi::TypedFunction<bool(AnyView, AnyView, bool, AnyView)> equal) const#