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

Move tfrecord reader to readers module #2722

Merged
merged 3 commits into from
Feb 25, 2021
Merged

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Feb 24, 2021

Why we need this PR?

For completeness with readers module

What happened in this PR?

  • What solution was applied:
    TFRecordReader is special.
    Added placeholders/alias schemas in the same fashion as other ops (to facilitate grepping with readers__).
    Reworked the wrapper class to be internal only. Use it to create two proper wrapper classes inserted into appropriate modules and wrapped into corresponding fn api functions.

  • Affected modules and functionalities:
    TFRecord Reader and related tests/notebooks

  • Key points relevant for the review:
    If the doc is rendered and the op is accessible?

  • Validation and testing:

  • Documentation (including examples):
    Some changes in docs.

JIRA TASK: [Use DALI-XXXX or NA]

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jantonguirao jantonguirao self-assigned this Feb 25, 2021
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki klecki marked this pull request as ready for review February 25, 2021 11:06
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Feb 25, 2021

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2108472]: BUILD STARTED

// Schema for the actual TFRecordReader op exposed
// in Python. It is here for proper docstring generation
DALI_SCHEMA(TFRecordReader)
// Schema for the actual readers.tfrecord op expose in Python.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Schema for the actual readers.tfrecord op expose in Python.
// Schema for the actual readers.tfrecord op exposed in Python.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As this is a comment, and the CI appears to be slow, I will fix it in a separate one.

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2108472]: BUILD PASSED

@klecki klecki merged commit 3d521a8 into NVIDIA:master Feb 25, 2021
@JanuszL JanuszL mentioned this pull request May 19, 2021
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.

4 participants