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

add boolean set method to DJL #784

Merged
merged 2 commits into from
Mar 25, 2021
Merged

Conversation

lanking520
Copy link
Member

Description

Boolean set method for DJL use cases. Also added TF where method.

This PR also introduced the NDArray.intern(): This method aimed to inplace change the reference of NDArray and kill the old reference owner. Typically useful if user would like to reduce object creation in Java.

Change-Id: I3b32bba4878265961c0a64aa05849c394657b9d2
@lanking520 lanking520 merged commit 04baa15 into deepjavalibrary:master Mar 25, 2021
stu1130 pushed a commit that referenced this pull request Mar 26, 2021
* add boolean set method to DJL

* fix order

Change-Id: I3b32bba4878265961c0a64aa05849c394657b9d2
@lanking520 lanking520 deleted the set branch May 6, 2021 22:03
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.

None yet

2 participants