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