Struct tensorflow::ops::DataServiceDatasetV3
source · pub struct DataServiceDatasetV3 { /* private fields */ }
Expand description
Builder for the DataServiceDatasetV3
operation.
Implementations§
source§impl DataServiceDatasetV3
impl DataServiceDatasetV3
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 uncompress<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn uncompress<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the uncompress
attribute.
sourcepub fn uncompress_fn<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn uncompress_fn<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the uncompress_fn
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 DataServiceDatasetV3
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<DataServiceDatasetV3Inst>
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<DataServiceDatasetV3Inst>
Builds a new instance of ‘DataServiceDatasetV3’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for DataServiceDatasetV3
impl Debug for DataServiceDatasetV3
source§impl Default for DataServiceDatasetV3
impl Default for DataServiceDatasetV3
source§fn default() -> DataServiceDatasetV3
fn default() -> DataServiceDatasetV3
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DataServiceDatasetV3
impl Send for DataServiceDatasetV3
impl Sync for DataServiceDatasetV3
impl Unpin for DataServiceDatasetV3
impl UnwindSafe for DataServiceDatasetV3
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