Struct tensorflow::ops::StatelessRandomPoisson
source · [−]pub struct StatelessRandomPoisson { /* private fields */ }
Expand description
Builder for the StatelessRandomPoisson
operation.
Implementations
sourceimpl 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
sourceimpl Debug for StatelessRandomPoisson
impl Debug for StatelessRandomPoisson
sourceimpl Default for StatelessRandomPoisson
impl Default for StatelessRandomPoisson
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more