Struct tensorflow::ops::UnbatchInst
source · pub struct UnbatchInst {
pub op: Operation,
}
Expand description
An instance of ‘Unbatch’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built Unbatch Operation in a Tensorflow graph.
Implementations§
source§impl UnbatchInst
impl UnbatchInst
sourcepub fn unbatched_tensor(&self) -> Output
pub fn unbatched_tensor(&self) -> Output
Returns the ‘unbatched_tensor’ Output of this ‘Unbatch’ operation.
sourcepub fn batched_tensor(&self) -> Input<'_>
pub fn batched_tensor(&self) -> Input<'_>
Returns the ‘batched_tensor’ Input of this ‘Unbatch’ operation.
sourcepub fn batch_index(&self) -> Input<'_>
pub fn batch_index(&self) -> Input<'_>
Returns the ‘batch_index’ Input of this ‘Unbatch’ operation.
Trait Implementations§
source§impl Clone for UnbatchInst
impl Clone for UnbatchInst
source§fn clone(&self) -> UnbatchInst
fn clone(&self) -> UnbatchInst
Returns a copy 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 UnbatchInst
impl Debug for UnbatchInst
source§impl From<UnbatchInst> for Operation
impl From<UnbatchInst> for Operation
source§fn from(inst: UnbatchInst) -> Operation
fn from(inst: UnbatchInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for UnbatchInst
impl Send for UnbatchInst
impl Sync for UnbatchInst
impl Unpin for UnbatchInst
impl UnwindSafe for UnbatchInst
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