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