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