#37 send gradient configuration to model