Struct tensorflow::ops::ComputeAccidentalHits
source · pub struct ComputeAccidentalHits { /* private fields */ }
Expand description
Builder for the ComputeAccidentalHits
operation.
Implementations§
source§impl ComputeAccidentalHits
impl ComputeAccidentalHits
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
true_classes: O0,
sampled_candidates: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, true_classes: O0, sampled_candidates: O1, scope: &mut Scope ) -> Result<Operation>
Builds the ComputeAccidentalHits
operation.
sourcepub fn build_instance(
&self,
true_classes: Output,
sampled_candidates: Output,
scope: &mut Scope
) -> Result<ComputeAccidentalHitsInst>
pub fn build_instance( &self, true_classes: Output, sampled_candidates: Output, scope: &mut Scope ) -> Result<ComputeAccidentalHitsInst>
Builds a new instance of ‘ComputeAccidentalHits’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ComputeAccidentalHits
impl Debug for ComputeAccidentalHits
source§impl Default for ComputeAccidentalHits
impl Default for ComputeAccidentalHits
source§fn default() -> ComputeAccidentalHits
fn default() -> ComputeAccidentalHits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ComputeAccidentalHits
impl Send for ComputeAccidentalHits
impl Sync for ComputeAccidentalHits
impl Unpin for ComputeAccidentalHits
impl UnwindSafe for ComputeAccidentalHits
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