set_tf_seed: Set seed in R and TensorFlow at the same time

View source: R/mlp.R

set_tf_seedR Documentation

Set seed in R and TensorFlow at the same time

Description

Some Keras models requires seeds to be set in both R and TensorFlow to achieve reproducible results. This function sets these seeds at the same time using version appropriate functions.

Usage

set_tf_seed(seed)

Arguments

seed

1 integer value.


tidymodels/parsnip documentation built on May 17, 2024, 10:37 a.m.