fromtaichi.lang.implimport*defreset():
"""Resets Taichi to its initial state. This would destroy all the fields and kernels. """_ti_core.reset_snode_access_flag()
impl.reset()
globalruntimeruntime=impl.get_runtime()
There is a func reset in python/taichi/lang/init.py, which is already defined at taichi.lang.impl
Describe the bug
python/taichi/lang/__init__.py:There is a func
resetin python/taichi/lang/init.py, which is already defined at taichi.lang.implpython/taichi/lang/impl.py:The IDE always raises an error here.
The text was updated successfully, but these errors were encountered: