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