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