Struct tensorflow::eager::raw_ops::RandomUniform
source · pub struct RandomUniform { /* private fields */ }
Expand description
RandomUniform
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RandomUniform
Implementations§
source§impl RandomUniform
impl RandomUniform
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
shape: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, shape: &T0 ) -> Result<TensorHandle<'a>>
Execute random_uniform.
Trait Implementations§
source§impl Clone for RandomUniform
impl Clone for RandomUniform
source§fn clone(&self) -> RandomUniform
fn clone(&self) -> RandomUniform
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RandomUniform
impl Debug for RandomUniform
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