← 返回事件
持续讨论AI发版

trunk/006c9f96a64ca842de60bb582e3ef3506d249215: Bind _prims_common contiguity checks to the C++ helpers (#199322)

发生了什么

Addresses review on #198875 and #199322 : _prims_common's contiguity checks had their own Python implementations alongside the C++ ones in c10/core/Contiguity.h. Both paths now call the C++ helpers through torch._C, so there is one implementation. The false_if_dde=True paths call c10::_is_contiguous_or_false, _is_channels_last_contiguous_2d_or_false and _is_channels_last_contiguous_3d_or_false, which match the Pytho…

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

为什么在扩散

来源