Struct tensorflow::ops::SparseMatMul
source · pub struct SparseMatMul { /* private fields */ }
Expand description
Builder for the SparseMatMul
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
a: O0,
b: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, a: O0, b: O1, scope: &mut Scope ) -> Result<Operation>
Builds the SparseMatMul
operation.
sourcepub fn build_instance(
&self,
a: Output,
b: Output,
scope: &mut Scope
) -> Result<SparseMatMulInst>
pub fn build_instance( &self, a: Output, b: Output, scope: &mut Scope ) -> Result<SparseMatMulInst>
Builds a new instance of ‘SparseMatMul’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseMatMul
impl Debug for SparseMatMul
source§impl Default for SparseMatMul
impl Default for SparseMatMul
source§fn default() -> SparseMatMul
fn default() -> SparseMatMul
Returns the “default value” for a type. Read more
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