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

Using dataset.apply with drop_remainder=True #125

Closed
wants to merge 2 commits into from

Conversation

maldil
Copy link

@maldil maldil commented Jul 11, 2022

Description of your changes

Hi,
I sincerely appreciate all of your hard work. I noticed the following code while analyzing the code, which allows us to use a single API rather than using two APIs. This, in my opinion, will shorten the code and maybe improve performance. What do you think?

Issue ticket number and link

This is not an issue. This is a refactoring.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation add / update
  • Refactoring

(If applicable) How has this been tested?

I executed the test cases in the test folder to ensure that nothing was broken by the change. However, while attempting to determine the test coverage, I was puzzled by the outputs. But I think it was carried out well.

@davek44
Copy link
Contributor

davek44 commented Jul 17, 2022

Hi, although this modification seems fine, tfrecord_batcher.py has been depracated.

@davek44 davek44 closed this Jul 17, 2022
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