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