ReplicationReflectionPad @Pytorch combines ReplicationPad and ReflectionPad to prevent errors from being reported due to small input sizes when using non-constant padding types.