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