Struct tensorflow::ops::MultiDeviceIteratorInit
source · pub struct MultiDeviceIteratorInit { /* private fields */ }
Expand description
Builder for the MultiDeviceIteratorInit
operation.
Implementations§
source§impl MultiDeviceIteratorInit
impl MultiDeviceIteratorInit
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<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
dataset: O0,
multi_device_iterator: O1,
max_buffer_size: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, dataset: O0, multi_device_iterator: O1, max_buffer_size: O2, scope: &mut Scope ) -> Result<Operation>
Builds the MultiDeviceIteratorInit
operation.
sourcepub fn build_instance(
&self,
dataset: Output,
multi_device_iterator: Output,
max_buffer_size: Output,
scope: &mut Scope
) -> Result<MultiDeviceIteratorInitInst>
pub fn build_instance( &self, dataset: Output, multi_device_iterator: Output, max_buffer_size: Output, scope: &mut Scope ) -> Result<MultiDeviceIteratorInitInst>
Builds a new instance of ‘MultiDeviceIteratorInit’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for MultiDeviceIteratorInit
impl Debug for MultiDeviceIteratorInit
source§impl Default for MultiDeviceIteratorInit
impl Default for MultiDeviceIteratorInit
source§fn default() -> MultiDeviceIteratorInit
fn default() -> MultiDeviceIteratorInit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MultiDeviceIteratorInit
impl Send for MultiDeviceIteratorInit
impl Sync for MultiDeviceIteratorInit
impl Unpin for MultiDeviceIteratorInit
impl UnwindSafe for MultiDeviceIteratorInit
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