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

[AL-1724] tobytes for Pytorch & Tensorflow #1580

Merged
merged 7 commits into from
Apr 7, 2022
Merged

Conversation

farizrahman4u
Copy link
Contributor

@farizrahman4u farizrahman4u commented Apr 6, 2022

🚀 🚀 Pull Request

Checklist:

  • My code follows the style guidelines of this project and the Contributing document
  • I have commented my code, particularly in hard-to-understand areas
  • I have kept the coverage-rate up
  • I have performed a self-review of my own code and resolved any problems
  • I have checked to ensure there aren't any other open Pull Requests for the same change
  • I have described and made corresponding changes to the relevant documentation
  • New and existing unit tests pass locally with my changes

Changes

ds.pytorch(tobytes=True)   # all tensors return samples as bytes during iteration
ds.pytorch(tobytes=["x", "y"])  # specified tensors return samples as bytes during iteration

@farizrahman4u farizrahman4u merged commit 1d57e08 into main Apr 7, 2022
@farizrahman4u farizrahman4u deleted the fr_tf_pt_bytes branch April 7, 2022 10:53
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.

3 participants