pub struct ExperimentalDenseToSparseBatchDataset { /* private fields */ }
Expand description
ExperimentalDenseToSparseBatchDataset
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ExperimentalDenseToSparseBatchDataset
Implementations§
Source§impl ExperimentalDenseToSparseBatchDataset
impl ExperimentalDenseToSparseBatchDataset
Sourcepub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the output_types
attribute.
Sourcepub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the output_shapes
attribute.
Sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
Sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input_dataset: &T0,
batch_size: &T1,
row_shape: &T2,
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_dataset: &T0, batch_size: &T1, row_shape: &T2, ) -> Result<TensorHandle<'a>>
Execute experimental_dense_to_sparse_batch_dataset.
Trait Implementations§
Source§impl Clone for ExperimentalDenseToSparseBatchDataset
impl Clone for ExperimentalDenseToSparseBatchDataset
Source§fn clone(&self) -> ExperimentalDenseToSparseBatchDataset
fn clone(&self) -> ExperimentalDenseToSparseBatchDataset
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ExperimentalDenseToSparseBatchDataset
impl RefUnwindSafe for ExperimentalDenseToSparseBatchDataset
impl Send for ExperimentalDenseToSparseBatchDataset
impl Sync for ExperimentalDenseToSparseBatchDataset
impl Unpin for ExperimentalDenseToSparseBatchDataset
impl UnwindSafe for ExperimentalDenseToSparseBatchDataset
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