blob: 3c74eddc7b47739fc515311cb7de986f98505ad5 [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