Solved by Matej_Kompanek in post #2 
              
              
                I don’t know if you’re able to achieve that with Clonable, in my code I just handle cloning myself using save / load, e.g.: 
class IArchitecture : public torch::nn::Module
{
public:

	virtual torch::Tensor forward(torch::Tensor x) = 0;
	
	virtual void reset_parameters() = 0;

	virtual std::shared_pt…