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