Class PackedFunc

Class Documentation

class cinn::lang::PackedFunc

A function defininer with the arguments packed, all the PackedFuncs have the same signature.

Public Types

using body_t = std::function<void(Args args, RetValue*)>

Public Functions

PackedFunc() = default
PackedFunc(const std::string &name)
PackedFunc(body_t body)
template<typename ...Args_>
RetValue operator()(Args_&&... args) const
body_t body() const