Struct tensorflow::eager::raw_ops::DenseToSparseSetOperation
source · pub struct DenseToSparseSetOperation { /* private fields */ }
Expand description
DenseToSparseSetOperation
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DenseToSparseSetOperation
Implementations§
source§impl DenseToSparseSetOperation
impl DenseToSparseSetOperation
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>>(
&self,
ctx: &'a Context,
set1: &T0,
set2_indices: &T1,
set2_values: &T2,
set2_shape: &T3
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, set1: &T0, set2_indices: &T1, set2_values: &T2, set2_shape: &T3 ) -> Result<[TensorHandle<'a>; 3]>
Execute dense_to_sparse_set_operation.
Trait Implementations§
source§impl Clone for DenseToSparseSetOperation
impl Clone for DenseToSparseSetOperation
source§fn clone(&self) -> DenseToSparseSetOperation
fn clone(&self) -> DenseToSparseSetOperation
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 DenseToSparseSetOperation
impl Debug for DenseToSparseSetOperation
Auto Trait Implementations§
impl RefUnwindSafe for DenseToSparseSetOperation
impl Send for DenseToSparseSetOperation
impl Sync for DenseToSparseSetOperation
impl Unpin for DenseToSparseSetOperation
impl UnwindSafe for DenseToSparseSetOperation
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