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