pub struct FusionNode {
pub id: usize,
pub op: FusableOp,
pub shape: Vec<usize>,
pub inputs: Vec<usize>,
}Expand description
A node in the fusion graph.
Fields§
§id: usize§op: FusableOp§shape: Vec<usize>Shape of the output tensor.
inputs: Vec<usize>Input node IDs.
Trait Implementations§
Source§impl Clone for FusionNode
impl Clone for FusionNode
Source§fn clone(&self) -> FusionNode
fn clone(&self) -> FusionNode
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 FusionNode
impl RefUnwindSafe for FusionNode
impl Send for FusionNode
impl Sync for FusionNode
impl Unpin for FusionNode
impl UnsafeUnpin for FusionNode
impl UnwindSafe for FusionNode
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