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