Skip to content

Commit

Permalink
style: apply Black linting rules and auto-fix code style issues
Browse files Browse the repository at this point in the history
Signed-off-by: NamCaoHai <namch.hust@gmail.com>
  • Loading branch information
CaoHaiNam committed Nov 7, 2024
1 parent 5df4569 commit 7b63170
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pymilvus/client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,4 @@ def convert_to_standard_form(vector_data: Any) -> Any:
row_stds = np.std(vector_data, axis=1, keepdims=True)

# Standardize each row independently
return np.where(
row_stds != 0, (vector_data - row_means) / row_stds, vector_data
)
return np.where(row_stds != 0, (vector_data - row_means) / row_stds, vector_data)

0 comments on commit 7b63170

Please sign in to comment.