pub struct TensorParallelConfig {
pub shard_count: usize,
pub optimizer: OptimizerKind,
}Fields§
§shard_count: usize§optimizer: OptimizerKindTrait Implementations§
Source§impl Clone for TensorParallelConfig
impl Clone for TensorParallelConfig
Source§fn clone(&self) -> TensorParallelConfig
fn clone(&self) -> TensorParallelConfig
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 moreAuto Trait Implementations§
impl Freeze for TensorParallelConfig
impl RefUnwindSafe for TensorParallelConfig
impl Send for TensorParallelConfig
impl Sync for TensorParallelConfig
impl Unpin for TensorParallelConfig
impl UnsafeUnpin for TensorParallelConfig
impl UnwindSafe for TensorParallelConfig
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