Struct tensorflow::ops::UniqueV2
source · pub struct UniqueV2 { /* private fields */ }
Expand description
Builder for the UniqueV2
operation.
Implementations§
source§impl UniqueV2
impl UniqueV2
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 UniqueV2
operation.
sourcepub fn build_instance(
&self,
x: Output,
axis: Output,
scope: &mut Scope
) -> Result<UniqueV2Inst>
pub fn build_instance( &self, x: Output, axis: Output, scope: &mut Scope ) -> Result<UniqueV2Inst>
Builds a new instance of ‘UniqueV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for UniqueV2
impl Send for UniqueV2
impl Sync for UniqueV2
impl Unpin for UniqueV2
impl UnwindSafe for UniqueV2
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