-
Notifications
You must be signed in to change notification settings - Fork 9
INN.PixelShuffle1d
Zhang Yanbo edited this page Oct 27, 2022
·
2 revisions
Invertible version of 1-d pixel shuffle. It will turn [N, C, X*r]
to shape [N, C*r, X]
, or vise versa.
-
r
: size of pixel shuffle block size
Return the pixel unshuffled x
. If compute_p=True
, logp
and logdet
will also returned.
Compute the pixel shuffled of y
. The **args
is a placeholder for consistent format.