← Back to events
ActiveAIRelease

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

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources