pytorch/caffe2/python/ideep
Igor Sugak 93e5065ba0 [CODEMOD][caffe2] replace numpy.bool with bool (#111432)
Test Plan:
numpy.bool is long deprecated and removed starting numpy-1.20.0 [1]. This replaces all references with equivalent `bool` type using the following oneliner:
```
rg -l 'np\.bool' caffe2 | grep '\.py$' | xargs perl -pi -e 's,\bnp\.bool\b,bool,'
```
1. https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

Differential Revision: D50372711

Pull Request resolved: https://github.com/pytorch/pytorch/pull/111432
Approved by: https://github.com/Skylion007
2023-10-18 18:56:40 +00:00
..
__init__.py
adam_op_test.py
blobs_queue_db_test.py
channel_shuffle_op_test.py
concat_split_op_test.py
conv_op_test.py
conv_transpose_test.py
convfusion_op_test.py
copy_op_test.py
dropout_op_test.py
elementwise_sum_op_test.py
expanddims_squeeze_op_test.py
fc_op_test.py
leaky_relu_op_test.py
LRN_op_test.py
moment_sgd_op_test.py
operator_fallback_op_test.py
order_switch_op_test.py
pool_op_test.py
pre_convert_test.py
relu_op_test.py
reshape_op_test.py
shape_op_test.py
sigmoid_op_test.py
softmax_op_test.py
spatial_bn_op_test.py
test_ideep_net.py
transform_ideep_net.py
transpose_op_test.py
weightedsum_op_test.py