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