Function cinn::lang::CallLowered
Defined in File compute.cc
Function Documentation
-
std::vector<ir::Tensor>
cinn::lang
::
CallLowered
(const std::string &target, const std::vector<Expr> &args, const std::vector<ReturnType> &return_types) Call a lowered function and return one or more tensors as result.
A lowered function is generated by lang::Lower method.
TODO(Superjomn) Add a registry (symbol table?) to make return result inference automatically.
- Return
Return one or more tensors as result.
- Parameters
target
: The name of the function to call.args
: The readonly arguments(while the mutable tensors are return result).return_types
: The types of the return values.