Struct tensorflow::ops::SparseTensorSliceDataset
source · pub struct SparseTensorSliceDataset { /* private fields */ }
Expand description
Builder for the SparseTensorSliceDataset
operation.
Implementations§
source§impl SparseTensorSliceDataset
impl SparseTensorSliceDataset
sourcepub fn Tvalues<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tvalues<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tvalues
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
indices: O0,
values: O1,
dense_shape: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, indices: O0, values: O1, dense_shape: O2, scope: &mut Scope ) -> Result<Operation>
Builds the SparseTensorSliceDataset
operation.
sourcepub fn build_instance(
&self,
indices: Output,
values: Output,
dense_shape: Output,
scope: &mut Scope
) -> Result<SparseTensorSliceDatasetInst>
pub fn build_instance( &self, indices: Output, values: Output, dense_shape: Output, scope: &mut Scope ) -> Result<SparseTensorSliceDatasetInst>
Builds a new instance of ‘SparseTensorSliceDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseTensorSliceDataset
impl Debug for SparseTensorSliceDataset
source§impl Default for SparseTensorSliceDataset
impl Default for SparseTensorSliceDataset
source§fn default() -> SparseTensorSliceDataset
fn default() -> SparseTensorSliceDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SparseTensorSliceDataset
impl Send for SparseTensorSliceDataset
impl Sync for SparseTensorSliceDataset
impl Unpin for SparseTensorSliceDataset
impl UnwindSafe for SparseTensorSliceDataset
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