pub struct NdTensorBinding {
pub tensor_id: String,
pub representation_id: RepresentationId,
pub container: String,
pub dtype: NdTensorDType,
pub source_ids: Vec<SourceId>,
pub shape: Vec<usize>,
pub row_count: usize,
pub tensor_fingerprint: String,
}Expand description
Binding of one stored tensor to a materialized data handle.
Fields§
§tensor_id: String§representation_id: RepresentationId§container: String§dtype: NdTensorDType§source_ids: Vec<SourceId>§shape: Vec<usize>§row_count: usize§tensor_fingerprint: StringTrait Implementations§
Source§impl Clone for NdTensorBinding
impl Clone for NdTensorBinding
Source§fn clone(&self) -> NdTensorBinding
fn clone(&self) -> NdTensorBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NdTensorBinding
impl Debug for NdTensorBinding
Source§impl<'de> Deserialize<'de> for NdTensorBinding
impl<'de> Deserialize<'de> for NdTensorBinding
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NdTensorBinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NdTensorBinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NdTensorBinding
Source§impl PartialEq for NdTensorBinding
impl PartialEq for NdTensorBinding
Source§fn eq(&self, other: &NdTensorBinding) -> bool
fn eq(&self, other: &NdTensorBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NdTensorBinding
impl Serialize for NdTensorBinding
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NdTensorBinding
Auto Trait Implementations§
impl Freeze for NdTensorBinding
impl RefUnwindSafe for NdTensorBinding
impl Send for NdTensorBinding
impl Sync for NdTensorBinding
impl Unpin for NdTensorBinding
impl UnsafeUnpin for NdTensorBinding
impl UnwindSafe for NdTensorBinding
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