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