pub struct BroadcastInputPlan {
pub source_shape: Vec<usize>,
pub dims: Vec<usize>,
}Expand description
Lowering plan for broadcasting one input to an output shape.
Fields§
§source_shape: Vec<usize>Shape to use before BroadcastInDim.
dims: Vec<usize>Source axes retained in source_shape and their output-axis positions.
Trait Implementations§
Source§impl Clone for BroadcastInputPlan
impl Clone for BroadcastInputPlan
Source§fn clone(&self) -> BroadcastInputPlan
fn clone(&self) -> BroadcastInputPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BroadcastInputPlan
impl Debug for BroadcastInputPlan
Source§impl PartialEq for BroadcastInputPlan
impl PartialEq for BroadcastInputPlan
impl Eq for BroadcastInputPlan
impl StructuralPartialEq for BroadcastInputPlan
Auto Trait Implementations§
impl Freeze for BroadcastInputPlan
impl RefUnwindSafe for BroadcastInputPlan
impl Send for BroadcastInputPlan
impl Sync for BroadcastInputPlan
impl Unpin for BroadcastInputPlan
impl UnsafeUnpin for BroadcastInputPlan
impl UnwindSafe for BroadcastInputPlan
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