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

Support namedtuple for "convert_tensor" #740

Merged
merged 4 commits into from
Jan 28, 2020
Merged

Commits on Jan 28, 2020

  1. Support namedtuple for "convert_tensor"

    convert_tensor support Map, List, but not namedtuple.
    
    This change is similar to: https://github.com/pytorch/pytorch/blob/master/torch/utils/data/_utils/pin_memory.py#L45
    hoangmit authored Jan 28, 2020
    Configuration menu
    Copy the full SHA
    3cc1724 View commit details
    Browse the repository at this point in the history
  2. Add an unit test

    hoangmit authored Jan 28, 2020
    Configuration menu
    Copy the full SHA
    e704d6e View commit details
    Browse the repository at this point in the history
  3. Update test_utils.py

    hoangmit authored Jan 28, 2020
    Configuration menu
    Copy the full SHA
    fec0e66 View commit details
    Browse the repository at this point in the history
  4. Update test_utils.py

    hoangmit authored Jan 28, 2020
    Configuration menu
    Copy the full SHA
    17295d9 View commit details
    Browse the repository at this point in the history