To admit externally - especially with only the exhaust visible - they are the same and as such it is not possible to know.
However since CAC specifically demanded a modified version of the trusted AL-31F with the gear-box relocated to the bottom of the engine for the J-10 that became the AL-31FN, since exactly the same was demanded for the FC-1/JF-17's engine when Klimov relocated the gear-box of its RD-33 to the bottom to develop the RD-93 ... I simply can't think that CAC uses an engine with its gear-box back on top as on the AL-31F or RD-33. Otherwise the J-10 and JF-17 could have easily used the original engines too.
As such ... only my estimated guess.
Deino
PS: by the way what's about these batch 02 J-15s ???
While that certainly makes good sense, and fits in with the establish pattern of past behaviour, we should also consider the fact that both J10 and JF17 are single engine, single finned fighters, whereas the J20 is twin engined and twin finned, thus the pattern may not necessary hold.
The twin engined, twin finned J11/16/15 all have their engine gear boxes on top, so I guess the main question to ask is, what are the pros and cons of having the gearbox on the bottom and top respectively?
That may give us clues about the J20's engine arrangement.
I always though of it as a matter of convenience.
For twin engined, twin finned fighters, their engines are almost always located between twin vertical fins. As such, you can install access panels and give crews easy access to the engines (and since the gearbox is one of the most complicated and part most in need of regular checks, maintenance and repairs, you naturally want the easiest access to them).
For single engine, single finned fighters, the fuselage is generally too narrow, and the vertical fin is generally in the way too much to allow crews to work at the engine from above, thus the access gearbox and panels are positioned under the plane.
From just a layman POV, I would think having the engine under your feet would be a lot easier to work on than having it over your head.
Thus, if given a choice, I would probably have preferred to have the gearbox and access panels on top wherever possible.
But that is just me, maybe there are other considerations I am not thinking off?