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