Struct tensorflow::eager::raw_ops::AddSparseToTensorsMap
source · pub struct AddSparseToTensorsMap { /* private fields */ }
Expand description
AddSparseToTensorsMap
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/AddSparseToTensorsMap
Implementations§
source§impl AddSparseToTensorsMap
impl AddSparseToTensorsMap
sourcepub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
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>>(
&self,
ctx: &'a Context,
sparse_indices: &T0,
sparse_values: &T1,
sparse_shape: &T2
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, sparse_indices: &T0, sparse_values: &T1, sparse_shape: &T2 ) -> Result<TensorHandle<'a>>
Execute add_sparse_to_tensors_map.
Trait Implementations§
source§impl Clone for AddSparseToTensorsMap
impl Clone for AddSparseToTensorsMap
source§fn clone(&self) -> AddSparseToTensorsMap
fn clone(&self) -> AddSparseToTensorsMap
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 AddSparseToTensorsMap
impl Debug for AddSparseToTensorsMap
Auto Trait Implementations§
impl RefUnwindSafe for AddSparseToTensorsMap
impl Send for AddSparseToTensorsMap
impl Sync for AddSparseToTensorsMap
impl Unpin for AddSparseToTensorsMap
impl UnwindSafe for AddSparseToTensorsMap
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