Added consider_constant option when computing gradients
Added consider_constant option when computing gradients

ASalvail/smartlearner,SMART-Lab/smartlearner,MarcCote/smartlearner,havaeimo/smartlearner,SMART-Lab/smartpy