pytorch
74b1f4f7 - Update sdp_utils functions to accept const& params (#111144)

Commit
1 year ago
Update sdp_utils functions to accept const& params (#111144) # Summary All our filter functions should not mutate the passed in params, this both makes the intent more clear and allows for the compiler to possible produce more optimal code. ### Note I used East-const style cause I think it is more clear: https://mariusbancila.ro/blog/2018/11/23/join-the-east-const-revolution/ Pull Request resolved: https://github.com/pytorch/pytorch/pull/111144 Approved by: https://github.com/cpuhrsch, https://github.com/Skylion007
Author
Committer
Parents
Loading