pub struct TensorRef {
pub id: TensorId,
pub meta: TensorMeta,
}Expand description
A reference to a tensor value.
Fields§
§id: TensorIdThe tensor ID.
meta: TensorMetaThe metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TensorRef
impl<'de> Deserialize<'de> for TensorRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TensorRef
impl StructuralPartialEq for TensorRef
Auto Trait Implementations§
impl Freeze for TensorRef
impl RefUnwindSafe for TensorRef
impl Send for TensorRef
impl Sync for TensorRef
impl Unpin for TensorRef
impl UnsafeUnpin for TensorRef
impl UnwindSafe for TensorRef
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