Skip to content

Commit

Permalink
list->tuple in output shape
Browse files Browse the repository at this point in the history
  • Loading branch information
APJansen authored and scarlehoff committed Mar 4, 2024
1 parent 8899f31 commit b2cd6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion n3fit/src/n3fit/backends/keras_backend/multi_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def compute_output_shape(self, input_shape):
output_shape = super().compute_output_shape(input_shape)

# Add back the replica axis to the output shape.
output_shape = output_shape[:1] + [self.replicas] + output_shape[1:]
output_shape = output_shape[:1] + (self.replicas,) + output_shape[1:]

return output_shape

Expand Down

0 comments on commit b2cd6fb

Please sign in to comment.