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