Struct tensorflow::ops::AnonymousMultiDeviceIteratorV3
source · pub struct AnonymousMultiDeviceIteratorV3 { /* private fields */ }
Expand description
Builder for the AnonymousMultiDeviceIteratorV3
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build(&self, scope: &mut Scope) -> Result<Operation>
pub fn build(&self, scope: &mut Scope) -> Result<Operation>
Builds the AnonymousMultiDeviceIteratorV3
operation.
sourcepub fn build_instance(
&self,
scope: &mut Scope
) -> Result<AnonymousMultiDeviceIteratorV3Inst>
pub fn build_instance( &self, scope: &mut Scope ) -> Result<AnonymousMultiDeviceIteratorV3Inst>
Builds a new instance of ‘AnonymousMultiDeviceIteratorV3’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for AnonymousMultiDeviceIteratorV3
impl Default for AnonymousMultiDeviceIteratorV3
source§fn default() -> AnonymousMultiDeviceIteratorV3
fn default() -> AnonymousMultiDeviceIteratorV3
Returns the “default value” for a type. Read more
Auto 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