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