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§
source§impl 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§
source§impl Clone for ComputeAccidentalHitsInst
impl Clone for ComputeAccidentalHitsInst
source§fn clone(&self) -> ComputeAccidentalHitsInst
fn clone(&self) -> ComputeAccidentalHitsInst
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 ComputeAccidentalHitsInst
impl Debug for ComputeAccidentalHitsInst
source§impl From<ComputeAccidentalHitsInst> for Operation
impl From<ComputeAccidentalHitsInst> for Operation
source§fn 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§
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