pub struct NodeInput<'a> {
pub data: &'a [f32],
pub shape: &'a Shape,
pub dtype: DType,
}Expand description
Materialized input data passed to a backend for evaluation.
Fields§
§data: &'a [f32]§shape: &'a Shape§dtype: DTypeAuto Trait Implementations§
impl<'a> Freeze for NodeInput<'a>
impl<'a> RefUnwindSafe for NodeInput<'a>
impl<'a> Send for NodeInput<'a>
impl<'a> Sync for NodeInput<'a>
impl<'a> Unpin for NodeInput<'a>
impl<'a> UnsafeUnpin for NodeInput<'a>
impl<'a> UnwindSafe for NodeInput<'a>
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