pub struct DotDims {
pub lhs_contracting: Vec<usize>,
pub rhs_contracting: Vec<usize>,
pub lhs_batch: Vec<usize>,
pub rhs_batch: Vec<usize>,
}Expand description
The dimensions that dot_general contracts and batches over. The result
has the batch dimensions, then the free dimensions of the left operand,
then those of the right operand.
Fields§
§lhs_contracting: Vec<usize>Contracting dimensions of the left operand.
rhs_contracting: Vec<usize>Contracting dimensions of the right operand.
lhs_batch: Vec<usize>Batch dimensions of the left operand.
rhs_batch: Vec<usize>Batch dimensions of the right operand.
Trait Implementations§
impl Eq for DotDims
impl StructuralPartialEq for DotDims
Auto Trait Implementations§
impl Freeze for DotDims
impl RefUnwindSafe for DotDims
impl Send for DotDims
impl Sync for DotDims
impl Unpin for DotDims
impl UnsafeUnpin for DotDims
impl UnwindSafe for DotDims
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