SciSharp / Keras.NET

Keras.NET is a high-level neural networks API for C# and F#, with Python Binding and capable of running on top of TensorFlow, CNTK, or Theano.
MIT License
600 stars 128 forks source link

¿how to set a random seed? #248

Closed IgnacioRodriguez98 closed 1 year ago

IgnacioRodriguez98 commented 1 year ago

Hi there.

I´m came from python and there is necessary to set a random seed to ensure that results are reproducible, how can I set that seed in tensorflow.net?

here are examples to set it in python:

np.random.seed(7) tf.set_random_seed(7)

github-actions[bot] commented 1 year ago

Stale issue message