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