Struct tensorflow::ops::RandomShuffle
source · pub struct RandomShuffle { /* private fields */ }
Expand description
Builder for the RandomShuffle
operation.
Implementations§
source§impl RandomShuffle
impl RandomShuffle
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
value: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, value: O0, scope: &mut Scope ) -> Result<Operation>
Builds the RandomShuffle
operation.
sourcepub fn build_instance(
&self,
value: Output,
scope: &mut Scope
) -> Result<RandomShuffleInst>
pub fn build_instance( &self, value: Output, scope: &mut Scope ) -> Result<RandomShuffleInst>
Builds a new instance of ‘RandomShuffle’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for RandomShuffle
impl Debug for RandomShuffle
source§impl Default for RandomShuffle
impl Default for RandomShuffle
source§fn default() -> RandomShuffle
fn default() -> RandomShuffle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RandomShuffle
impl Send for RandomShuffle
impl Sync for RandomShuffle
impl Unpin for RandomShuffle
impl UnwindSafe for RandomShuffle
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