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