pub struct ShmTensorHandle {
pub shm_name: String,
pub shape: Vec<i64>,
pub dtype: String,
}Expand description
A CPU tensor published in a POSIX shared-memory segment on the same host. A map-layout struct.
Fields§
§shm_name: StringSegment name.
shape: Vec<i64>Tensor dimensions.
dtype: Stringtorch dtype name.
Trait Implementations§
Source§impl Clone for ShmTensorHandle
impl Clone for ShmTensorHandle
Source§impl Debug for ShmTensorHandle
impl Debug for ShmTensorHandle
impl Eq for ShmTensorHandle
Source§impl PartialEq for ShmTensorHandle
impl PartialEq for ShmTensorHandle
impl StructuralPartialEq for ShmTensorHandle
Auto Trait Implementations§
impl Freeze for ShmTensorHandle
impl RefUnwindSafe for ShmTensorHandle
impl Send for ShmTensorHandle
impl Sync for ShmTensorHandle
impl Unpin for ShmTensorHandle
impl UnsafeUnpin for ShmTensorHandle
impl UnwindSafe for ShmTensorHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more