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