def _clipper(self): ''' projects the weights to the feasible set :return: ''' return tf.assign(self.W, tf.clip_by_value(self.W, 0, np.PINF), name="projector")