source/train/optimizer/Adam.cpp
XOptimizer * Adam::Clone(int devID)
{
    Adam * opt = new Adam();
    
    Copy(this, opt, devID);
    
    return (XOptimizer*)opt;
}
/*
clone the optimizer (with the data in it)
>> devID - device where we place the data
*/
clone the optimizer (with the data in it)
>> devID - device where we place the data
clone the optimizer ( with the data in it ) >> devID - device where we place the data
XOptimizer * Adam::Clone(int devID)
{
    Adam * opt = new Adam();
    Copy(this, opt, devID);
    return (XOptimizer*)opt;
}
XOptimizer * Adam :: Clone ( int devID ) { Adam * opt = new Adam ( ) ; Copy ( this , opt , devID ) ; return ( XOptimizer * ) opt ; }
clone the optimizer (with the data in it)
>> devID - device where we place the data
clone the optimizer ( with the data in it ) >> devID - device where we place the data