Any Idea How to implement Meta Pesudo Label?

I am trying to re-implement Meta Pesudo Label in torch but having trouble. Is anyone else try to do the samething?