Struct tensorflow::eager::raw_ops::UniqueV2
source · pub struct UniqueV2 { /* private fields */ }
Expand description
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
x: &T0,
axis: &T1
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, x: &T0, axis: &T1 ) -> Result<[TensorHandle<'a>; 2]>
Execute unique_v2.
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