StorageRef

Type Alias StorageRef 

Source
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§

pub struct StorageRef { /* private fields */ }