Struct tensorflow::ops::MultinomialInst
source · pub struct MultinomialInst {
pub op: Operation,
}
Expand description
An instance of ‘Multinomial’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built Multinomial Operation in a Tensorflow graph.
Implementations§
source§impl MultinomialInst
impl MultinomialInst
sourcepub fn num_samples(&self) -> Input<'_>
pub fn num_samples(&self) -> Input<'_>
Returns the ‘num_samples’ Input of this ‘Multinomial’ operation.
Trait Implementations§
source§impl Clone for MultinomialInst
impl Clone for MultinomialInst
source§fn clone(&self) -> MultinomialInst
fn clone(&self) -> MultinomialInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MultinomialInst
impl Debug for MultinomialInst
source§impl From<MultinomialInst> for Operation
impl From<MultinomialInst> for Operation
source§fn from(inst: MultinomialInst) -> Operation
fn from(inst: MultinomialInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MultinomialInst
impl Send for MultinomialInst
impl Sync for MultinomialInst
impl Unpin for MultinomialInst
impl UnwindSafe for MultinomialInst
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