<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_replay(self, sess, replay):
 """Changes the current replay setting on the graph."""

    sess.run(self._set_replay, {self._set_replay_ph: replay})