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