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