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