-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] Support indexing via np.integer in field #5712
Conversation
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the modification apply to MatrixField
and ndarrays as well?
7ed0a02
to
fc440ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* [autodiff] Fix AdStackAllocaStmt not correctly backup (#5692) * [autodiff] Fix AdStackAllocaStmt not correctly backup * remove redundant replace * add comments * add polar decompose test * erase outdated AdStackAllocaStmt * [Doc] Add introduction to forward mode autodiff (#5680) * [autodiff] Add introduction to forward mode autodiff * Apply suggestions from code review Co-authored-by: Ailing <[email protected]> * Apply suggestions from code review Co-authored-by: Ailing <[email protected]> * [Doc] Add docs for GGUI's new features (#5647) * improve docs about new features of GGUI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename wareframe to wireframe * update some docs * update docs * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename to Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vissidarte-Herman <[email protected]> * [bug] Support indexing via np.integer for field (#5712) * [autodiff] Clear all dual fields when exiting context manager (#5716) * [Doc] [type] Add introduction to quantized types (#5705) * [Doc] [type] Add introduction to quantized types * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Apply suggestions from code review Co-authored-by: Ailing <[email protected]> * Shuffle * Fix type Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ailing <[email protected]> * [test] Fix autodiff test for unsupported shift ptr (#5723) * [misc] Update version to v1.1.0 Co-authored-by: Mingrui Zhang <[email protected]> Co-authored-by: Mocki <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vissidarte-Herman <[email protected]> Co-authored-by: Yi Xu <[email protected]>
Related issue = #
This was used in difftaichi.
python examples/diffmpm.py