Define TORCH_MODULE_IMPL# Defined in File pimpl.h Define Documentation# TORCH_MODULE_IMPL(Name, ImplType)# Defines a class Name which inherits from nn::ModuleHolder to provide a wrapper over a std::shared_ptr<ImplType>. Impl is a type alias for ImplType which provides a way to call static method of ImplType.
Define TORCH_MODULE_IMPL# Defined in File pimpl.h Define Documentation# TORCH_MODULE_IMPL(Name, ImplType)# Defines a class Name which inherits from nn::ModuleHolder to provide a wrapper over a std::shared_ptr<ImplType>. Impl is a type alias for ImplType which provides a way to call static method of ImplType.