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