pub struct TensorDescriptorConfig<'a> {
pub modes: &'a [TensorMode],
pub partition: RankPartition<'a>,
pub data_type: DataType,
}Fields§
§modes: &'a [TensorMode]§partition: RankPartition<'a>§data_type: DataTypeTrait Implementations§
Source§impl<'a> Clone for TensorDescriptorConfig<'a>
impl<'a> Clone for TensorDescriptorConfig<'a>
Source§fn clone(&self) -> TensorDescriptorConfig<'a>
fn clone(&self) -> TensorDescriptorConfig<'a>
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 moreimpl<'a> Copy for TensorDescriptorConfig<'a>
Auto Trait Implementations§
impl<'a> Freeze for TensorDescriptorConfig<'a>
impl<'a> RefUnwindSafe for TensorDescriptorConfig<'a>
impl<'a> Send for TensorDescriptorConfig<'a>
impl<'a> Sync for TensorDescriptorConfig<'a>
impl<'a> Unpin for TensorDescriptorConfig<'a>
impl<'a> UnsafeUnpin for TensorDescriptorConfig<'a>
impl<'a> UnwindSafe for TensorDescriptorConfig<'a>
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