Struct tensorflow::ops::ExperimentalDatasetCardinality
source · pub struct ExperimentalDatasetCardinality { /* private fields */ }
Expand description
Builder for the ExperimentalDatasetCardinality
operation.
Implementations§
source§impl ExperimentalDatasetCardinality
impl ExperimentalDatasetCardinality
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
input_dataset: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, input_dataset: O0, scope: &mut Scope ) -> Result<Operation>
Builds the ExperimentalDatasetCardinality
operation.
sourcepub fn build_instance(
&self,
input_dataset: Output,
scope: &mut Scope
) -> Result<ExperimentalDatasetCardinalityInst>
pub fn build_instance( &self, input_dataset: Output, scope: &mut Scope ) -> Result<ExperimentalDatasetCardinalityInst>
Builds a new instance of ‘ExperimentalDatasetCardinality’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for ExperimentalDatasetCardinality
impl Default for ExperimentalDatasetCardinality
source§fn default() -> ExperimentalDatasetCardinality
fn default() -> ExperimentalDatasetCardinality
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ExperimentalDatasetCardinality
impl Send for ExperimentalDatasetCardinality
impl Sync for ExperimentalDatasetCardinality
impl Unpin for ExperimentalDatasetCardinality
impl UnwindSafe for ExperimentalDatasetCardinality
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