Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refactor] Move ti.randn out of taichi.lang. #3742

Merged
merged 2 commits into from
Dec 8, 2021

Conversation

ailzhang
Copy link
Contributor

@ailzhang ailzhang commented Dec 8, 2021

ti.randn is more like a standard lib on top of taichi.lang. Leaving it inside taichi.lang can easily cause circular import and import order related issues. Let's move such ti.funcs out. Potentially we can have ti.std in the future but I'll put them in taichi/_funcs.py and expose them to ti namespace manually for now.

@netlify
Copy link

netlify bot commented Dec 8, 2021

✔️ Deploy Preview for jovial-fermat-aa59dc canceled.

🔨 Explore the source changes: 18d90de

🔍 Inspect the deploy log: https://app.netlify.com/sites/jovial-fermat-aa59dc/deploys/61b068e8b317aa00075c12af

Copy link
Contributor

@strongoier strongoier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ailzhang ailzhang merged commit da3c4c5 into taichi-dev:master Dec 8, 2021
@ailzhang ailzhang deleted the refactor_python branch December 8, 2021 10:23
@ailzhang ailzhang mentioned this pull request Dec 13, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants