Struct tensorflow::eager::raw_ops::DatasetToGraphV2
source · pub struct DatasetToGraphV2 { /* private fields */ }
Expand description
DatasetToGraphV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DatasetToGraphV2
Implementations§
source§impl DatasetToGraphV2
impl DatasetToGraphV2
sourcepub fn external_state_policy<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn external_state_policy<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the external_state_policy
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_v2.
Trait Implementations§
source§impl Clone for DatasetToGraphV2
impl Clone for DatasetToGraphV2
source§fn clone(&self) -> DatasetToGraphV2
fn clone(&self) -> DatasetToGraphV2
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 DatasetToGraphV2
impl Debug for DatasetToGraphV2
Auto Trait Implementations§
impl RefUnwindSafe for DatasetToGraphV2
impl Send for DatasetToGraphV2
impl Sync for DatasetToGraphV2
impl Unpin for DatasetToGraphV2
impl UnwindSafe for DatasetToGraphV2
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