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