Struct tensorflow::eager::raw_ops::SparseToSparseSetOperation
source · pub struct SparseToSparseSetOperation { /* private fields */ }
Expand description
SparseToSparseSetOperation
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseToSparseSetOperation
Implementations§
source§impl SparseToSparseSetOperation
impl SparseToSparseSetOperation
sourcepub fn set_operation<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn set_operation<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the set_operation
attribute.
sourcepub fn validate_indices<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn validate_indices<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the validate_indices
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
set1_indices: &T0,
set1_values: &T1,
set1_shape: &T2,
set2_indices: &T3,
set2_values: &T4,
set2_shape: &T5
) -> 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>>( &self, ctx: &'a Context, set1_indices: &T0, set1_values: &T1, set1_shape: &T2, set2_indices: &T3, set2_values: &T4, set2_shape: &T5 ) -> Result<[TensorHandle<'a>; 3]>
Execute sparse_to_sparse_set_operation.
Trait Implementations§
source§impl Clone for SparseToSparseSetOperation
impl Clone for SparseToSparseSetOperation
source§fn clone(&self) -> SparseToSparseSetOperation
fn clone(&self) -> SparseToSparseSetOperation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SparseToSparseSetOperation
impl Debug for SparseToSparseSetOperation
Auto Trait Implementations§
impl RefUnwindSafe for SparseToSparseSetOperation
impl Send for SparseToSparseSetOperation
impl Sync for SparseToSparseSetOperation
impl Unpin for SparseToSparseSetOperation
impl UnwindSafe for SparseToSparseSetOperation
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