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