Struct tensorflow::ops::BatchInst
source · pub struct BatchInst {
pub op: Operation,
}
Expand description
An instance of ‘Batch’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built Batch Operation in a Tensorflow graph.
Implementations§
source§impl BatchInst
impl BatchInst
sourcepub fn batched_tensors(&self) -> Output
pub fn batched_tensors(&self) -> Output
Returns the ‘batched_tensors’ Output of this ‘Batch’ operation.
sourcepub fn batch_index(&self) -> Output
pub fn batch_index(&self) -> Output
Returns the ‘batch_index’ Output of this ‘Batch’ operation.
sourcepub fn in_tensors(&self) -> Input<'_>
pub fn in_tensors(&self) -> Input<'_>
Returns the ‘in_tensors’ Input of this ‘Batch’ operation.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BatchInst
impl Send for BatchInst
impl Sync for BatchInst
impl Unpin for BatchInst
impl UnwindSafe for BatchInst
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