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