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