operators - Definitions for all basic operators written for yann .

The file yann.core.operators.py contains the definition for all the operators written specifically for yann. Typically yann’s fundamental operators come from theano or numpy. This is needed only for explicit operators not available clearly elsewhere.

yann.core.operators.copy_params(source, destination, borrow=True, verbose=2)[source]

Internal function that copies paramters maintaining theano shared nature.

Parameters:
  • source – Source
  • destination – destination

Notes

Was using deep copy to do this. This seems faster. But can I use theano.clone ?