You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Taichi] version 0.7.18, llvm 10.0.0, commit 9a31814, linux, python 3.6.7
It seems like that "random_seed" parameter has been deprecated in the newest version of taichi. Maybe, related documentation should be updated
reproduce:
python3 -c "import taichi as ti; ti.init(random_seed=1)"
result:
[Taichi] mode=release
[Taichi] preparing sandbox at /tmp/taichi-on5gm_8n
[Taichi] version 0.7.18, llvm 10.0.0, commit 9a31814, linux, python 3.6.7
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/taichi/lang/init.py", line 202, in init
f'Unrecognized keyword argument(s) for ti.init: {", ".join(unexpected_keys)}'
KeyError: 'Unrecognized keyword argument(s) for ti.init: random_seed'
The text was updated successfully, but these errors were encountered:
The random_seed argument is a feature added by #2297. I don't know why its documentation gets merged by 0.7.18 in advance. I tested with 0.7.19 and it should be working fine.
[Taichi] version 0.7.18, llvm 10.0.0, commit 9a31814, linux, python 3.6.7
It seems like that "random_seed" parameter has been deprecated in the newest version of taichi. Maybe, related documentation should be updated
reproduce:
python3 -c "import taichi as ti; ti.init(random_seed=1)"
result:
[Taichi] mode=release
[Taichi] preparing sandbox at /tmp/taichi-on5gm_8n
[Taichi] version 0.7.18, llvm 10.0.0, commit 9a31814, linux, python 3.6.7
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/taichi/lang/init.py", line 202, in init
f'Unrecognized keyword argument(s) for ti.init: {", ".join(unexpected_keys)}'
KeyError: 'Unrecognized keyword argument(s) for ti.init: random_seed'
The text was updated successfully, but these errors were encountered: