As I’m not deeply familiar with the TF code, I assume get_initial_state might be equivalent to init_hidden 1 and single_step seems to refer to the forward method 3.
If you need exactly the same results, I would still recommend to run the methods in isolation with a fixed input array and make sure you get the desired outputs.