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

trunk/cf471dc229ebb2d98793f00f3150c370872b6cb8: [BE][MPS] Migrate remaining logical ops to Metal (#195592)

发生了什么

Using c10:metal::cast_to primitive to have consistent behavior for complex numbers, which fixes bug in MPSGraph implementation when op was called for complex types (previously only real part were checked, not complex value is truthy when either real or complex parts are nonzero) Pull Request resolved: #195592 Approved by: https://github.com/Skylion007

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

为什么在扩散

来源