1 #include <torch/imethod.h> 2 3 namespace torch { 4 getArgumentNames() const5const std::vector<std::string>& IMethod::getArgumentNames() const { 6 if (isArgumentNamesInitialized_) { 7 return argumentNames_; 8 } 9 10 isArgumentNamesInitialized_ = true; 11 setArgumentNames(argumentNames_); 12 return argumentNames_; 13 } 14 15 } // namespace torch 16