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