Request for correlation layer

Is Could pytorch provide correlation operator? a duplicate of this topic?