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