Skip to content

Commit

Permalink
remove trailing whitespace from code file
Browse files Browse the repository at this point in the history
  • Loading branch information
Akram authored and Akram committed Aug 19, 2024
1 parent 0a5001c commit 0de39f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webots/controllers/RL_Supervisor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def learn(self, states, actions, old_probs, values, rewards, dones):

advantages = self.calculate_advantages(rewards, values, dones)

# optimize Actor Network weights
# optimize Actor Network weights
with tf.GradientTape() as tape:
states = tf.convert_to_tensor(states)
actions = tf.convert_to_tensor(actions)
Expand Down

0 comments on commit 0de39f7

Please sign in to comment.