Tensorflow Vs pytorch (about the tuning of the model)

is it necessary that the hyper parameters which worked in tensorflow should match with pytorch? and give exact same result?