Skip to content

Commit

Permalink
Merge pull request #135 from saleml/fixrepr
Browse files Browse the repository at this point in the history
fix __repr__ of modules
  • Loading branch information
josephdviviano authored Sep 4, 2023
2 parents b59a507 + dc774e9 commit ec4b415
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 ec4b415

Please sign in to comment.