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