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

feat: add tf ResourceVariable to frontend #28393

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

Sam-Armstrong
Copy link
Contributor

No description provided.

@Sam-Armstrong Sam-Armstrong self-assigned this Feb 22, 2024
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Issue Reference

In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our contributing guide and our PR template.
This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

@ivy-leaves ivy-leaves added the TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist label Feb 22, 2024
@@ -53,23 +53,23 @@ def shape(self):

def assign(self, value, use_locking=None, name=None, read_value=True):
ivy.utils.assertions.check_equal(
value.shape if hasattr(value, "ivy_array") else ivy.shape(value),
value.ivy_array.shape if hasattr(value, "ivy_array") else ivy.shape(value),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These assertions were throwing an exception without this change, as the shape returned was a tuple

Copy link
Contributor

@Ishticode Ishticode left a comment

Choose a reason for hiding this comment

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

looks great :)

@Sam-Armstrong Sam-Armstrong merged commit 1bdf5c0 into ivy-llc:main Feb 22, 2024
125 of 141 checks passed
@Sam-Armstrong Sam-Armstrong deleted the resource-variable branch February 22, 2024 16:39
Kacper-W-Kozdon pushed a commit to Kacper-W-Kozdon/ivy that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants