-
Notifications
You must be signed in to change notification settings - Fork 615
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
Fix TensorList constructor from list of tensors. #3626
Fix TensorList constructor from list of tensors. #3626
Conversation
Fixed issues: - from empty list - different backend tensors - different dtype tensors Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
!build |
CI MESSAGE: [3776507]: BUILD STARTED |
CI MESSAGE: [3776531]: BUILD STARTED |
CI MESSAGE: [3776507]: BUILD FAILED |
dali/python/backend_impl.cc
Outdated
|
||
tv[i].ShareData(t); | ||
} catch (const py::type_error &e) { | ||
throw e; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick, just throw;
would have rethrow e
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
CI MESSAGE: [3776507]: BUILD PASSED |
CI MESSAGE: [3776531]: BUILD PASSED |
!build |
CI MESSAGE: [3777189]: BUILD STARTED |
CI MESSAGE: [3777189]: BUILD PASSED |
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Fixed issues (raising exceptions), when constructing TensorList from an empty list, different backend tensors or different dtype tensors. Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
Description
What happened in this PR
It fixes a bug with TensorList constructor from list of tensors.
Fixed issues (raising exceptions), when constructing TensorList from:
Additional information
TensorList constructor from list of Tensors
Checklist
Tests
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A