← 返回事件
持续讨论科技发版

trunk/4461389ab0a7879b9916aa942eb83e8a7ecdfc81: Fix SciPy kstest two-sample API usage in test_init (#193125)

图:PyTorch Releases

发生了什么

Summary One-line test compatibility fix for newer SciPy in test/nn/test_init.py . stats.kstest(samples, "norm", args=(mean, std)) fails with newer versions of SciPy. Update the test to use SciPy's supported callable form: stats . kstest ( samples , stats . norm ( mean , std ). cdf ) Area: /torch/nn/ Reviewers: @albanD @jbschlosser @mikaylagawarecki Note: this PR originally also fixed the NumPy 2 row_stack export che…

摘要按规则整理自下方来源原文

为什么在扩散

来源