Skip to content

Commit

Permalink
fix: Removed unnecessary var assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleabTessera committed Mar 28, 2022
1 parent 31e3b14 commit 14da332
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mava/systems/tf/mappo/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def make_default_networks(
# Create the shared observation network; here simply a state-less operation.
if observation_network is None:
observation_network = tf2_utils.to_sonnet_module(tf.identity)
else:
observation_network = observation_network

# Note: The discrete case must be placed first as it inherits from BoundedArray.
if isinstance(specs[key].actions, dm_env.specs.DiscreteArray): # discrete
Expand Down

0 comments on commit 14da332

Please sign in to comment.