Does it make sense when training a model containing operators(once_differentiable) with WGAN-GP

The backward function of unfold is decorated with once_differential, yet I find this link It is an inpating model trained with wgan-gp, by extracting patches from an image with tf.extract_image_patches.
Does tf.extract_images_patches support double differential? Why ufold cannot?