pub struct ParallelFilterDataset { /* private fields */ }Expand description
ParallelFilterDataset
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ParallelFilterDataset
Implementations§
Source§impl ParallelFilterDataset
impl ParallelFilterDataset
Sourcepub fn predicate<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn predicate<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the predicate attribute.
Sourcepub fn deterministic<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn deterministic<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the deterministic attribute.
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 metadata<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn metadata<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the metadata 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,
other_arguments: &T1,
num_parallel_calls: &T2,
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_dataset: &T0, other_arguments: &T1, num_parallel_calls: &T2, ) -> Result<TensorHandle<'a>>
Execute parallel_filter_dataset.
Trait Implementations§
Source§impl Clone for ParallelFilterDataset
impl Clone for ParallelFilterDataset
Source§fn clone(&self) -> ParallelFilterDataset
fn clone(&self) -> ParallelFilterDataset
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 moreSource§impl Debug for ParallelFilterDataset
impl Debug for ParallelFilterDataset
Auto Trait Implementations§
impl Freeze for ParallelFilterDataset
impl RefUnwindSafe for ParallelFilterDataset
impl Send for ParallelFilterDataset
impl Sync for ParallelFilterDataset
impl Unpin for ParallelFilterDataset
impl UnwindSafe for ParallelFilterDataset
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