Struct tensorflow::ops::UniformCandidateSamplerInst
source · [−]pub struct UniformCandidateSamplerInst {
pub op: Operation,
}
Expand description
An instance of ‘UniformCandidateSampler’ Operation with it’s Outputs and Inputs exposed as methods.
Fields
op: Operation
An instance of a fully built UniformCandidateSampler Operation in a Tensorflow graph.
Implementations
sourceimpl UniformCandidateSamplerInst
impl UniformCandidateSamplerInst
sourcepub fn sampled_candidates(&self) -> Output
pub fn sampled_candidates(&self) -> Output
Returns the ‘sampled_candidates’ Output of this ‘UniformCandidateSampler’ operation.
sourcepub fn true_expected_count(&self) -> Output
pub fn true_expected_count(&self) -> Output
Returns the ‘true_expected_count’ Output of this ‘UniformCandidateSampler’ operation.
sourcepub fn sampled_expected_count(&self) -> Output
pub fn sampled_expected_count(&self) -> Output
Returns the ‘sampled_expected_count’ Output of this ‘UniformCandidateSampler’ operation.
sourcepub fn true_classes(&self) -> Input<'_>
pub fn true_classes(&self) -> Input<'_>
Returns the ‘true_classes’ Input of this ‘UniformCandidateSampler’ operation.
Trait Implementations
sourceimpl Clone for UniformCandidateSamplerInst
impl Clone for UniformCandidateSamplerInst
sourcefn clone(&self) -> UniformCandidateSamplerInst
fn clone(&self) -> UniformCandidateSamplerInst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UniformCandidateSamplerInst
impl Debug for UniformCandidateSamplerInst
sourceimpl From<UniformCandidateSamplerInst> for Operation
impl From<UniformCandidateSamplerInst> for Operation
sourcefn from(inst: UniformCandidateSamplerInst) -> Operation
fn from(inst: UniformCandidateSamplerInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for UniformCandidateSamplerInst
impl Send for UniformCandidateSamplerInst
impl Sync for UniformCandidateSamplerInst
impl Unpin for UniformCandidateSamplerInst
impl UnwindSafe for UniformCandidateSamplerInst
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more