sciai.utils.set_seed

View Source On Gitee
sciai.utils.set_seed(seed=1234)[source]

Set random seed everywhere.

Parameters

seed (int) – Seed number.

Raises

TypeError – if seed is not an integer.