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