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