Class IMethod¶
Defined in File imethod.h
Page Contents
Class Documentation¶
-
class IMethod¶
Public Types
-
using IValueMap = std::unordered_map<std::string, at::IValue>¶
Public Functions
-
IMethod() = default¶
-
virtual ~IMethod() = default¶
-
virtual c10::IValue operator()(std::vector<c10::IValue> args, const IValueMap &kwargs = IValueMap()) const = 0¶
-
virtual const std::string &name() const = 0¶
-
const std::vector<std::string> &getArgumentNames() const¶
Protected Functions
-
virtual void setArgumentNames(std::vector<std::string> &argumentNames) const = 0¶
-
using IValueMap = std::unordered_map<std::string, at::IValue>¶