source/tensor/XConfig.cpp
void XConfig::CreateFromMe(XConfig & myConfig)
{
    Clear();

    for (int i = 0; i < myConfig.GetItemNum(); i++)
        Add(myConfig.GetItem(i), i);
}
/* 
initialize with another config model 
>> myConfig - the configure model that we want to copy
*/
initialize with another config model
>> myConfig - the configure model that we want to copy
initialize with another config model >> myConfig - the configure model that we want to copy
void XConfig::CreateFromMe(XConfig & myConfig)
{
    Clear();
    for (int i = 0; i < myConfig.GetItemNum(); i++)
        Add(myConfig.GetItem(i), i);
}
void XConfig :: CreateFromMe ( XConfig & myConfig ) { Clear ( ) ; for ( int i = 0 ; i < myConfig . GetItemNum ( ) ; i ++ ) Add ( myConfig . GetItem ( i ) , i ) ; }
initialize with another config model
>> myConfig - the configure model that we want to copy
initialize with another config model >> myConfig - the configure model that we want to copy