Skip to content

Commit

Permalink
fix __repr__ of modules - no more env
Browse files Browse the repository at this point in the history
  • Loading branch information
saleml committed Sep 1, 2023
1 parent b59a507 commit dc774e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gfn/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def forward(self, states: States) -> TT["batch_shape", "output_dim", float]:
return out

def __repr__(self):
return f"{self.__class__.__name__}({self.env})"
return f"{self.__class__.__name__} module"

@property
@abstractmethod
Expand Down

0 comments on commit dc774e9

Please sign in to comment.