Could you explain, what the TF methods are doing?
I would recommend to store fixed numpy inputs, load them for both frameworks (in PyTorch you would have to transform the numpy array to a tensor via torch.from_numpy), and compare their outputs.
This would make sure that both methods are indeed using the same underlying operations and parameters.