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