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

Process TFRecord reader binding classes only when it is enabled #5360

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Mar 7, 2024

Category: Bug fix

Description:

Only parse the code and create the TFRecord reader API bindings/classes when the feature is enabled.

Additional information:

Affected modules and functionalities:

TFRecord Python bidnings

Key points relevant for the review:

It just adds the if statement and indents the implementation.

Tests:

  • Existing tests apply
    Should fix the custom src pattern test and work as is in the rest of DALI
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

klecki added 2 commits March 7, 2024 16:15
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Mar 7, 2024

!build

@stiepan stiepan self-assigned this Mar 7, 2024
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13345998]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13345998]: BUILD PASSED

@klecki klecki merged commit 717d704 into NVIDIA:main Mar 8, 2024
7 checks passed
@klecki klecki deleted the conditional-tfrecord-bindings branch March 8, 2024 11:18
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