MCPcopy Create free account
hub / github.com/apache/tvm / __call__

Method __call__

python/tvm/relax/expr.py:1038–1046  ·  view source on GitHub ↗

Invoke the global function. Parameters ---------- args: List[relax.Expr] Arguments.

(self, *args)

Source from the content-addressed store, hash-verified

1036 return _ffi_api.FunctionCreateEmpty(params, ret_struct_info, is_pure, attrs, span) # type: ignore
1037
1038 def __call__(self, *args):
1039 """Invoke the global function.
1040
1041 Parameters
1042 ----------
1043 args: List[relax.Expr]
1044 Arguments.
1045 """
1046 return Call(self, args, None, None)
1047
1048 def bind_symbolic_vars(self, binding_map: Mapping[str | tvm.tirx.Var, PrimExpr]) -> "Function":
1049 """Return a new function with updated symbolic variable

Callers

nothing calls this directly

Calls 1

CallClass · 0.70

Tested by

no test coverage detected