Skip to content

Commit

Permalink
update for numpy==2
Browse files Browse the repository at this point in the history
  • Loading branch information
dfulu committed Jun 18, 2024
1 parent 83c7e2b commit 68f8495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet_summation/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
output_network_kwargs = dict()

self.model = output_network(
in_features=np.product(self.pvnet_output_shape),
in_features=np.prod(self.pvnet_output_shape),
out_features=self.num_output_features,
**output_network_kwargs,
)
Expand Down

0 comments on commit 68f8495

Please sign in to comment.