Struct tensorflow::eager::raw_ops::DatasetToGraph
source · pub struct DatasetToGraph { /* private fields */ }
Expand description
DatasetToGraph
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DatasetToGraph
Implementations§
source§impl DatasetToGraph
impl DatasetToGraph
sourcepub fn stateful_whitelist<ArgType: Into<Vec<String>>>(
self,
value: ArgType
) -> Self
pub fn stateful_whitelist<ArgType: Into<Vec<String>>>( self, value: ArgType ) -> Self
Sets the stateful_whitelist
attribute.
sourcepub fn allow_stateful<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn allow_stateful<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the allow_stateful
attribute.
sourcepub fn strip_device_assignment<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn strip_device_assignment<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the strip_device_assignment
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>>(
&self,
ctx: &'a Context,
input_dataset: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_dataset: &T0 ) -> Result<TensorHandle<'a>>
Execute dataset_to_graph.
Trait Implementations§
source§impl Clone for DatasetToGraph
impl Clone for DatasetToGraph
source§fn clone(&self) -> DatasetToGraph
fn clone(&self) -> DatasetToGraph
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 DatasetToGraph
impl Debug for DatasetToGraph
Auto Trait Implementations§
impl RefUnwindSafe for DatasetToGraph
impl Send for DatasetToGraph
impl Sync for DatasetToGraph
impl Unpin for DatasetToGraph
impl UnwindSafe for DatasetToGraph
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