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