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