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