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