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