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