-
Notifications
You must be signed in to change notification settings - Fork 621
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
Improve Tensors docs #2915
Improve Tensors docs #2915
Conversation
* Expose the CUDA and NumPy Array Interface * Add links to the above * Add a paragraph about the memory being wrapped * Mention that the memory is invalidated in subsequent iteration * Add better cross-links * Turn on plugin for section labels (easy links in one .rst) Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
!build |
CI MESSAGE: [2322569]: BUILD STARTED |
CI MESSAGE: [2322569]: BUILD FAILED |
dali/python/backend_impl.cc
Outdated
)code"); | ||
tensor_cpu_binding.doc() = R"code( | ||
Class representing a Tensor with memory residing on CPU. It can be used to access individual |
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.
Class representing a Tensor with memory residing on CPU. It can be used to access individual | |
Class representing a Tensor residing in host memory. It can be used to access individual |
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
dali/python/backend_impl.cc
Outdated
)code"); | ||
tensor_gpu_binding.doc() = R"code( | ||
Class representing a Tensor with memory residing on GPU. It can be used to access individual |
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.
Class representing a Tensor with memory residing on GPU. It can be used to access individual | |
Class representing a Tensor residing in GPU memory. It can be used to access individual |
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
Needed when the docs is built without DALI source repo, as only installed DALI is needed for it. Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
!build |
CI MESSAGE: [2352616]: BUILD STARTED |
CI MESSAGE: [2352616]: BUILD PASSED |
Signed-off-by: Krzysztof Lecki klecki@nvidia.com
Why we need this PR?
What happened in this PR?
What solution was applied:
Affected modules and functionalities:
Types -> Tensor docs mostly
Key points relevant for the review:
If what I wrote is true.
Validation and testing:
Read the docs, please.
Documentation (including examples):
Yes, indeed.
JIRA TASK: [Use DALI-XXXX or NA]