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