Struct tensorflow::eager::raw_ops::RandomGamma
source · pub struct RandomGamma { /* private fields */ }
Expand description
RandomGamma
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RandomGamma
Implementations§
source§impl RandomGamma
impl RandomGamma
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>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
shape: &T0,
alpha: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, shape: &T0, alpha: &T1 ) -> Result<TensorHandle<'a>>
Execute random_gamma.
Trait Implementations§
source§impl Clone for RandomGamma
impl Clone for RandomGamma
source§fn clone(&self) -> RandomGamma
fn clone(&self) -> RandomGamma
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 RandomGamma
impl Debug for RandomGamma
Auto Trait Implementations§
impl RefUnwindSafe for RandomGamma
impl Send for RandomGamma
impl Sync for RandomGamma
impl Unpin for RandomGamma
impl UnwindSafe for RandomGamma
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