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