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