pub struct NamedTensors {
pub named_tensors: HashMap<String, Tensor>,
}Expand description
Named tensors to send model parameters using a channel.
Fields§
§named_tensors: HashMap<String, Tensor>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NamedTensors
impl RefUnwindSafe for NamedTensors
impl Send for NamedTensors
impl !Sync for NamedTensors
impl Unpin for NamedTensors
impl UnwindSafe for NamedTensors
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