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