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.