def sde_update_gradient_full(self, gradients):
part_start_param_index = <NUM_LIT:0><EOL>for p in self.parts:<EOL><INDENT>if not p.is_fixed:<EOL><INDENT>part_param_num = len(p.param_array) <EOL>p.sde_update_gradient_full(gradients[part_start_param_index:(part_start_param_index+part_param_num)])<EOL>part_start_param_index += part_param_num<EOL><DEDENT><DEDENT>
Update gradient in the order in which parameters are represented in the
kernel