Struct tensorflow::eager::raw_ops::AnonymousMultiDeviceIteratorV3
source · pub struct AnonymousMultiDeviceIteratorV3 { /* private fields */ }
Expand description
AnonymousMultiDeviceIteratorV3
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/AnonymousMultiDeviceIteratorV3
Implementations§
source§impl AnonymousMultiDeviceIteratorV3
impl AnonymousMultiDeviceIteratorV3
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.
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 anonymous_multi_device_iterator_v3.
Trait Implementations§
source§impl Clone for AnonymousMultiDeviceIteratorV3
impl Clone for AnonymousMultiDeviceIteratorV3
source§fn clone(&self) -> AnonymousMultiDeviceIteratorV3
fn clone(&self) -> AnonymousMultiDeviceIteratorV3
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 moreAuto Trait Implementations§
impl RefUnwindSafe for AnonymousMultiDeviceIteratorV3
impl Send for AnonymousMultiDeviceIteratorV3
impl Sync for AnonymousMultiDeviceIteratorV3
impl Unpin for AnonymousMultiDeviceIteratorV3
impl UnwindSafe for AnonymousMultiDeviceIteratorV3
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