Struct tensorflow::ops::RandomShuffle
source · [−]pub struct RandomShuffle { /* private fields */ }
Expand description
Builder for the RandomShuffle
operation.
Implementations
sourceimpl 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
sourceimpl Debug for RandomShuffle
impl Debug for RandomShuffle
sourceimpl Default for RandomShuffle
impl Default for RandomShuffle
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more