Closed sadrasabouri closed 2 months ago
Normally, when you wanted to use the random generative mode, you would need to set a random seed out of the object initialization:
>>> from samila import GenerativeImage >>> import random >>> random.seed(0) >>> g = GenerativeImage()
Instead of this, we can have a parameter that controls the random function generation.
>>> from samila import GenerativeImage >>> g = GenerativeImage(func_seed=0)
Ubuntu 22.04
3.10.6
samila.__version__
1.1
Description
Normally, when you wanted to use the random generative mode, you would need to set a random seed out of the object initialization:
Instead of this, we can have a parameter that controls the random function generation.
Steps/Code to Reproduce
Operating System
Ubuntu 22.04
Python Version
3.10.6
Samila Version (Use :
samila.__version__
)1.1