Skip to content

Commit

Permalink
Remove deprecated numpy.product usage (#416)
Browse files Browse the repository at this point in the history
Admin-merging because this will not pass CI without an upstream change
  • Loading branch information
wphicks authored Nov 22, 2024
1 parent f455352 commit 5b0874c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/L0_e2e/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def model_data(request, client, model_repo):
config = client.get_model_config(name)
input_shapes = {input_.name: list(input_.dims) for input_ in config.input}
output_sizes = {
output.name: np.product(output.dims) * np.dtype("float32").itemsize
output.name: np.prod(output.dims) * np.dtype("float32").itemsize
for output in config.output
}
max_batch_size = config.max_batch_size
Expand Down

0 comments on commit 5b0874c

Please sign in to comment.