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