Struct tensorflow::eager::raw_ops::DataServiceDatasetV2
source · pub struct DataServiceDatasetV2 { /* private fields */ }
Expand description
DataServiceDatasetV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DataServiceDatasetV2
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
dataset_id: &T0,
processing_mode: &T1,
address: &T2,
protocol: &T3,
job_name: &T4,
consumer_index: &T5,
num_consumers: &T6,
max_outstanding_requests: &T7,
iteration_counter: &T8
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>>( &self, ctx: &'a Context, dataset_id: &T0, processing_mode: &T1, address: &T2, protocol: &T3, job_name: &T4, consumer_index: &T5, num_consumers: &T6, max_outstanding_requests: &T7, iteration_counter: &T8 ) -> Result<TensorHandle<'a>>
Execute data_service_dataset_v2.
Trait Implementations§
source§impl Clone for DataServiceDatasetV2
impl Clone for DataServiceDatasetV2
source§fn clone(&self) -> DataServiceDatasetV2
fn clone(&self) -> DataServiceDatasetV2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DataServiceDatasetV2
impl Debug for DataServiceDatasetV2
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