pytorch/caffe2/python/modeling
Aaron Gokaslan 8fce9a09cd [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308)
Apply parts of pyupgrade to torch (starting with the safest changes).
This PR only does two things: removes the need to inherit from object and removes unused future imports.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/94308
Approved by: https://github.com/ezyang, https://github.com/albanD
2023-02-07 21:10:56 +00:00
..
__init__.py
compute_histogram_for_blobs_test.py
compute_histogram_for_blobs.py
compute_norm_for_blobs_test.py
compute_norm_for_blobs.py
compute_statistics_for_blobs_test.py
compute_statistics_for_blobs.py
get_entry_from_blobs_test.py
get_entry_from_blobs.py
gradient_clipping_test.py
gradient_clipping.py
initializers_test.py
initializers.py
net_modifier.py
parameter_info.py
parameter_sharing_test.py
parameter_sharing.py