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