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