Setting up a seed on Keras
Talles L

Talles L @tallesl

About: nothing to see here, move along

Location:
Brazil
Joined:
Jul 12, 2020

Setting up a seed on Keras

Publish Date: Aug 19 '24
0 0
import random
import numpy as np
import tensorflow as tf

seed = 123

random.seed(seed)
np.random.seed(seed)
tf.random.set_seed(seed)
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment