pub struct TchShape {
pub dims: Vec<i64>,
}Expand description
A shape that can be used by LibTorch.
Fields§
§dims: Vec<i64>The shape’s dimensions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TchShape
impl RefUnwindSafe for TchShape
impl Send for TchShape
impl Sync for TchShape
impl Unpin for TchShape
impl UnwindSafe for TchShape
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