Struct tensorflow::ops::SparseTensorToCSRSparseMatrixInst
source · pub struct SparseTensorToCSRSparseMatrixInst {
pub op: Operation,
}
Expand description
An instance of ‘SparseTensorToCSRSparseMatrix’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built SparseTensorToCSRSparseMatrix Operation in a Tensorflow graph.
Implementations§
source§impl SparseTensorToCSRSparseMatrixInst
impl SparseTensorToCSRSparseMatrixInst
sourcepub fn sparse_matrix(&self) -> Output
pub fn sparse_matrix(&self) -> Output
Returns the ‘sparse_matrix’ Output of this ‘SparseTensorToCSRSparseMatrix’ operation.
sourcepub fn indices(&self) -> Input<'_>
pub fn indices(&self) -> Input<'_>
Returns the ‘indices’ Input of this ‘SparseTensorToCSRSparseMatrix’ operation.
sourcepub fn values(&self) -> Input<'_>
pub fn values(&self) -> Input<'_>
Returns the ‘values’ Input of this ‘SparseTensorToCSRSparseMatrix’ operation.
sourcepub fn dense_shape(&self) -> Input<'_>
pub fn dense_shape(&self) -> Input<'_>
Returns the ‘dense_shape’ Input of this ‘SparseTensorToCSRSparseMatrix’ operation.
Trait Implementations§
source§impl Clone for SparseTensorToCSRSparseMatrixInst
impl Clone for SparseTensorToCSRSparseMatrixInst
source§fn clone(&self) -> SparseTensorToCSRSparseMatrixInst
fn clone(&self) -> SparseTensorToCSRSparseMatrixInst
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 From<SparseTensorToCSRSparseMatrixInst> for Operation
impl From<SparseTensorToCSRSparseMatrixInst> for Operation
source§fn from(inst: SparseTensorToCSRSparseMatrixInst) -> Operation
fn from(inst: SparseTensorToCSRSparseMatrixInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SparseTensorToCSRSparseMatrixInst
impl Send for SparseTensorToCSRSparseMatrixInst
impl Sync for SparseTensorToCSRSparseMatrixInst
impl Unpin for SparseTensorToCSRSparseMatrixInst
impl UnwindSafe for SparseTensorToCSRSparseMatrixInst
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