Sets all random seeds needed to make TensorFlow code reproducible.
set_random_seed(seed, disable_gpu = TRUE)
A single value, interpreted as an integer
This function should be used instead of
you are using TensorFlow >= 2.0, as the concept of
really make sense anymore.
This functions sets:
The R random seed with
The python and Numpy seeds via (
The TensorFlow seed with (
It also optionally disables the GPU execution as this is a potential source of non-reproducibility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.