Struct tensorflow::eager::raw_ops::RecordInput
source · pub struct RecordInput { /* private fields */ }
Expand description
RecordInput
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RecordInput
Implementations§
source§impl RecordInput
impl RecordInput
sourcepub fn file_pattern<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn file_pattern<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the file_pattern
attribute.
sourcepub fn file_random_seed<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn file_random_seed<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the file_random_seed
attribute.
sourcepub fn file_shuffle_shift_ratio<ArgType: Into<f32>>(
self,
value: ArgType
) -> Self
pub fn file_shuffle_shift_ratio<ArgType: Into<f32>>( self, value: ArgType ) -> Self
Sets the file_shuffle_shift_ratio
attribute.
sourcepub fn file_buffer_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn file_buffer_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the file_buffer_size
attribute.
sourcepub fn file_parallelism<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn file_parallelism<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the file_parallelism
attribute.
sourcepub fn batch_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn batch_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the batch_size
attribute.
sourcepub fn compression_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn compression_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the compression_type
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>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute record_input.
Trait Implementations§
source§impl Clone for RecordInput
impl Clone for RecordInput
source§fn clone(&self) -> RecordInput
fn clone(&self) -> RecordInput
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 RecordInput
impl Debug for RecordInput
Auto Trait Implementations§
impl RefUnwindSafe for RecordInput
impl Send for RecordInput
impl Sync for RecordInput
impl Unpin for RecordInput
impl UnwindSafe for RecordInput
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