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