Skip to content

Commit

Permalink
Merge pull request #90 from Masao-Someki/bugfix/remove_np_bool
Browse files Browse the repository at this point in the history
Replace np.bool to bool
  • Loading branch information
Masao-Someki authored May 11, 2023
2 parents dba0788 + 4a8633e commit 02641fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espnet_onnx/utils/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def mask_fill(arr, mask, mask_value):
Returns:
np.ndarray: Masked array
"""
arr[mask.astype(np.bool) == True] = mask_value
arr[mask.astype(bool) == True] = mask_value
return arr


Expand Down

0 comments on commit 02641fb

Please sign in to comment.