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

viable/strict/1788906341: [BE] Unify Pooling shape checks across backends / families (#196230)

发生了什么

Started just max_unpooling check, but then realized there are tons of duplicated logic across numerous pooling checks headers: Move all pooling ops helper functions into PoolingChecks.h Delete duplicate max_unpooling3d_shape_check from MaxUnpooling.cu Refactor inlined shapecheck into max_unpool2d_shape_check used by CPU, CUDA and MPS Make gradOutput a trailing std::optional , so forward callers don't have to pass a…

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

为什么在扩散

来源