MCPcopy Create free account
hub / github.com/apache/tvm-ffi / FunctionObjImpl

Method FunctionObjImpl

include/tvm/ffi/function.h:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 */
171 template <typename... Args>
172 explicit FunctionObjImpl(Args&&... args) : callable_(std::forward<Args>(args)...) {
173 this->safe_call = SafeCall;
174 this->cpp_call = reinterpret_cast<void*>(CppCall);
175 }
176
177 FunctionObjImpl(const FunctionObjImpl&) = delete;
178 FunctionObjImpl& operator=(const FunctionObjImpl&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected