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