Struct tensorflow::ops::DataServiceDataset
source · pub struct DataServiceDataset { /* private fields */ }
Expand description
Builder for the DataServiceDataset
operation.
Implementations§
source§impl DataServiceDataset
impl DataServiceDataset
sourcepub fn task_refresh_interval_hint_ms<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn task_refresh_interval_hint_ms<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the task_refresh_interval_hint_ms
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 data_transfer_protocol<ArgType: Into<String>>(
self,
value: ArgType
) -> Self
pub fn data_transfer_protocol<ArgType: Into<String>>( self, value: ArgType ) -> Self
Sets the data_transfer_protocol
attribute.
sourcepub fn target_workers<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_workers<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the target_workers
attribute.
sourcepub fn cross_trainer_cache_options<ArgType: Into<String>>(
self,
value: ArgType
) -> Self
pub fn cross_trainer_cache_options<ArgType: Into<String>>( self, value: ArgType ) -> Self
Sets the cross_trainer_cache_options
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<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>>(
&self,
dataset_id: O0,
processing_mode: O1,
address: O2,
protocol: O3,
job_name: O4,
max_outstanding_requests: O5,
iteration_counter: O6,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>>( &self, dataset_id: O0, processing_mode: O1, address: O2, protocol: O3, job_name: O4, max_outstanding_requests: O5, iteration_counter: O6, scope: &mut Scope ) -> Result<Operation>
Builds the DataServiceDataset
operation.
sourcepub fn build_instance(
&self,
dataset_id: Output,
processing_mode: Output,
address: Output,
protocol: Output,
job_name: Output,
max_outstanding_requests: Output,
iteration_counter: Output,
scope: &mut Scope
) -> Result<DataServiceDatasetInst>
pub fn build_instance( &self, dataset_id: Output, processing_mode: Output, address: Output, protocol: Output, job_name: Output, max_outstanding_requests: Output, iteration_counter: Output, scope: &mut Scope ) -> Result<DataServiceDatasetInst>
Builds a new instance of ‘DataServiceDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for DataServiceDataset
impl Debug for DataServiceDataset
source§impl Default for DataServiceDataset
impl Default for DataServiceDataset
source§fn default() -> DataServiceDataset
fn default() -> DataServiceDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DataServiceDataset
impl Send for DataServiceDataset
impl Sync for DataServiceDataset
impl Unpin for DataServiceDataset
impl UnwindSafe for DataServiceDataset
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