I’m trying to write my own GRU code (in Python). The code will implement a modified GRU cell with additional part that is controlled by a parameter (N). If N=0, in structure/math, it should be the same as GRUCell in Pytorch. I’m trying to test whether this is true by setting the same random seed
random.seed(args.seed)
torch.manual_seed(args.seed)
As is GRUCell is itself implemented in C++ but my new code is implemented in Python. Should I have the expectation that under same random seed and N=0, the whole training result will be the same. Sorry I cannot share the implementation code for the current.
Thank you.
Best.
Yue