There is no such function no.
You don’t actually want to fix the global seed, you want to reset it after each layer created right?
If it was globally set, it would only ever generate a single number which is not what you want.
I think the simplest here would be to create a custom Linear Module that inherits from the existing Linear that will set the seed properly before calling the original linear’s initialization.