Struct tensorflow::Input
source · pub struct Input<'a> {
pub operation: &'a Operation,
pub index: c_int,
}
Expand description
A Input
is one end of a graph edge.
It holds an operation and an index into the inputs of that operation.
Fields§
§operation: &'a Operation
Operation the edge connects to.
index: c_int
Index into either the inputs of the operation.
Trait Implementations§
impl<'a> Copy for Input<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Input<'a>
impl<'a> Send for Input<'a>
impl<'a> Sync for Input<'a>
impl<'a> Unpin for Input<'a>
impl<'a> UnwindSafe for Input<'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