Struct tensorflow::ops::OptimizeDatasetInst
source · [−]pub struct OptimizeDatasetInst {
pub op: Operation,
}
Expand description
An instance of ‘OptimizeDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Fields
op: Operation
An instance of a fully built OptimizeDataset Operation in a Tensorflow graph.
Implementations
sourceimpl OptimizeDatasetInst
impl OptimizeDatasetInst
sourcepub fn handle(&self) -> Output
pub fn handle(&self) -> Output
Returns the ‘handle’ Output of this ‘OptimizeDataset’ operation.
sourcepub fn input_dataset(&self) -> Input<'_>
pub fn input_dataset(&self) -> Input<'_>
Returns the ‘input_dataset’ Input of this ‘OptimizeDataset’ operation.
sourcepub fn optimizations(&self) -> Input<'_>
pub fn optimizations(&self) -> Input<'_>
Returns the ‘optimizations’ Input of this ‘OptimizeDataset’ operation.
Trait Implementations
sourceimpl Clone for OptimizeDatasetInst
impl Clone for OptimizeDatasetInst
sourcefn clone(&self) -> OptimizeDatasetInst
fn clone(&self) -> OptimizeDatasetInst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OptimizeDatasetInst
impl Debug for OptimizeDatasetInst
sourceimpl From<OptimizeDatasetInst> for Operation
impl From<OptimizeDatasetInst> for Operation
sourcefn from(inst: OptimizeDatasetInst) -> Operation
fn from(inst: OptimizeDatasetInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for OptimizeDatasetInst
impl Send for OptimizeDatasetInst
impl Sync for OptimizeDatasetInst
impl Unpin for OptimizeDatasetInst
impl UnwindSafe for OptimizeDatasetInst
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more