Class FunctionDoc#
Defined in File doc.h
Inheritance Relationships#
Base Type#
public tvm::script::printer::StmtDoc(Class StmtDoc)
Class Documentation#
-
class FunctionDoc : public tvm::script::printer::StmtDoc#
Reference type of FunctionDocObj.
See also
Public Types
-
using ContainerType = FunctionDocObj#
Public Functions
-
explicit FunctionDoc(IdDoc name, ffi::Array<AssignDoc> args, ffi::Array<ExprDoc> decorators, ffi::Optional<ExprDoc> return_type, ffi::Array<StmtDoc> body, ffi::Array<Doc> type_params = {})#
Constructor of FunctionDoc.
- Parameters:
name – The name of function..
args – The arguments of function.
decorators – The decorator of function.
return_type – The return type of function.
body – The body of function.
type_params – The PEP 695 type parameters of the function.
-
inline explicit FunctionDoc(::tvm::ffi::UnsafeInit tag)#
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
-
using ContainerType = FunctionDocObj#