export docs (#1747)

This commit is contained in:
Awni Hannun
2025-01-03 15:04:17 -08:00
committed by GitHub
parent 259025100e
commit b51d70a83c
4 changed files with 295 additions and 2 deletions

View File

@@ -729,8 +729,8 @@ std::vector<array> ImportedFunction::operator()(
msg << "[import_function::call] No imported function found which matches "
<< "the given positional and keyword arguments. Possible functions include:\n";
ftable->print_functions(msg);
msg << "\nReceived function with " << args.size()
<< " positional inputs and " << kwargs.size() << " keyword inputs:\n";
msg << "\nCalled with " << args.size() << " positional inputs and "
<< kwargs.size() << " keyword inputs:\n";
for (int i = 0; i < args.size(); ++i) {
auto& in = args[i];
msg << " " << i + 1 << ": " << in.shape() << " " << in.dtype() << "\n";