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