pub struct TransposeRecord {
pub var_name: String,
pub perm: Vec<i64>,
pub is_input: bool,
}Expand description
Information about a needed transpose at a graph boundary.
Fields§
§var_name: StringName of the global variable that needs transposing.
perm: Vec<i64>The permutation to apply (e.g. [0, 3, 1, 2]).
is_input: boolWhether this is an input transpose (before computation) or output (after).
Trait Implementations§
Source§impl Clone for TransposeRecord
impl Clone for TransposeRecord
Source§fn clone(&self) -> TransposeRecord
fn clone(&self) -> TransposeRecord
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 TransposeRecord
impl RefUnwindSafe for TransposeRecord
impl Send for TransposeRecord
impl Sync for TransposeRecord
impl Unpin for TransposeRecord
impl UnsafeUnpin for TransposeRecord
impl UnwindSafe for TransposeRecord
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