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

Several updates #161

Merged
merged 21 commits into from
Mar 12, 2024
Merged

Several updates #161

merged 21 commits into from
Mar 12, 2024

Conversation

khatchad
Copy link
Collaborator

@khatchad khatchad commented Mar 7, 2024

  • Fail the build earlier.
  • Remove "clean" from the build. Makes it faster.
  • Use better variable names.
  • Make an internal method.
  • Add javadoc.
  • Remove unused variable.
  • Add iter() and next() built-ins.
  • Handle dataset iteration.
  • Add summary for tf.keras.preprocessing.image.ImageDataGenerator.flow_from_directory().

khatchad added 19 commits March 7, 2024 13:22
To prevent infinite recursion, only the "top-level" method established
the "seen" set.
I originally wrote this as a proof-of-concept and testing, but it's not
a legal case because the `Dataset` ctor isn't publicly visible. In other
words, `Dataset` isn't a ctor that returns in `Dataset` in "real life."
Doing this initially just made the implementation a bit easier to
visualize.
It shouldn't just pass-through it's argument. Otherwise, the PA doesn't
look right.
* Intraprocedural case for dataset iterators.

* More tests.

* Handle the intraprocedural case.
This reverts commit 53aa471. It's
failing test cases in our client but seems not to do any harm here.
@khatchad khatchad added enhancement New feature or request cleanup testing Related to test code or test input labels Mar 7, 2024
@khatchad khatchad requested a review from msridhar March 7, 2024 18:32
@khatchad
Copy link
Collaborator Author

khatchad commented Mar 7, 2024

Oops. Some of this is covered in #160.

@khatchad khatchad enabled auto-merge (squash) March 7, 2024 20:53
@khatchad khatchad disabled auto-merge March 7, 2024 20:54
@khatchad khatchad enabled auto-merge (squash) March 7, 2024 20:54
@msridhar
Copy link
Member

Oops. Some of this is covered in #160.

@khatchad is this PR cleaned up and ready for review? Does #160 need to land first?

@khatchad
Copy link
Collaborator Author

Oops. Some of this is covered in #160.

@khatchad is this PR cleaned up and ready for review?

Yup. I resolved the conflicts introduced from #167.

Does #160 need to land first?

It shouldn't matter. If you merge #160 first, then a proper subset of this PR should disappear. If, on the other hand, you merge this PR first, then #160 should become empty.

@khatchad khatchad merged commit 404a34f into wala:master Mar 12, 2024
1 check passed
@khatchad khatchad deleted the contrib_updates2 branch March 12, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup enhancement New feature or request testing Related to test code or test input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants