![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
Context stored in DLManagedTensor.manager_ctx for owning exports. More...
#include <numpy_bridge.hpp>
Public Attributes | |
| OwnedTensor | owned_tensor |
| Keeps data alive. | |
| std::vector< int64_t > | shape |
| DLTensor.shape points here. | |
Context stored in DLManagedTensor.manager_ctx for owning exports.
Takes ownership of the OwnedTensor's data so that it stays alive until the DLPack consumer calls the deleter. This enables true zero-copy ownership transfer from Signet to DLPack consumers.
Definition at line 265 of file numpy_bridge.hpp.
| OwnedTensor signet::forge::detail::DLPackOwnedCtx::owned_tensor |
Keeps data alive.
Definition at line 266 of file numpy_bridge.hpp.
| std::vector<int64_t> signet::forge::detail::DLPackOwnedCtx::shape |
DLTensor.shape points here.
Definition at line 267 of file numpy_bridge.hpp.