Type Alias burn::backend::libtorch::StorageRef
pub type StorageRef = Arc<*mut c_void>;
Expand description
A reference to a tensor storage.
We manually implement Sync
and Send
unsafely, so even if we could use Rc
, it isn’t safe.
Aliased Type§
struct StorageRef { /* private fields */ }