blob: cfbf1c9e2805dfb6ffc1bc75ccfe5f6e36018af3 [file] [log] [blame]
#include <torch/imethod.h>
namespace torch {
const std::vector<std::string>& IMethod::getArgumentNames() const
{
if (isArgumentNamesInitialized_) {
return argumentNames_;
}
isArgumentNamesInitialized_ = true;
setArgumentNames(argumentNames_);
return argumentNames_;
}
} // namespace torch