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