Allow passing a random seed to DropoutLayer for unit testing.