nextset up the body of the game loop to do thispass data to the tensorflow placeholders and tensorflow' abstractions will handle the computation on the gpureturning the result of the algorithm start by deleting the old -table and logic specificallydelete the lines that define (right before the for loop)noise (in the while loop)actionqtargetand [stateactionrename state to obs_t and state to obs_tp to align with the tensorflow placeholders you set previously when finishedyour for loop will match the following/ataribot/bot_ _q_network py setup optimization trainer tf train gradientdescentoptimizer(learning_rate=learning_rateupdate_model trainer minimize(errorfor episode in range( num_episodes )obs_t env reset(episode_reward while trueobs_tp rewarddone_ env step(actionepisode_reward +reward obs_t obs_tp if done