Pytorch

Linear class is a “generated” class that effectively wrap over a std::shared_ptr<LinearImpl>.

This class can be called module holder.

By such wrapper, reference semantics becomes the default, without using of std::shared_ptr and std::make_shared