Struct tensorflow::eager::raw_ops::SparseAdd
source · pub struct SparseAdd { /* private fields */ }
Expand description
SparseAdd
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseAdd
Implementations§
source§impl SparseAdd
impl SparseAdd
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
a_indices: &T0,
a_values: &T1,
a_shape: &T2,
b_indices: &T3,
b_values: &T4,
b_shape: &T5,
thresh: &T6
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>>( &self, ctx: &'a Context, a_indices: &T0, a_values: &T1, a_shape: &T2, b_indices: &T3, b_values: &T4, b_shape: &T5, thresh: &T6 ) -> Result<[TensorHandle<'a>; 3]>
Execute sparse_add.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SparseAdd
impl Send for SparseAdd
impl Sync for SparseAdd
impl Unpin for SparseAdd
impl UnwindSafe for SparseAdd
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