Struct tensorflow::ops::RecordInput
source · pub struct RecordInput { /* private fields */ }
Expand description
Builder for the RecordInput
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build_instance(&self, scope: &mut Scope) -> Result<RecordInputInst>
pub fn build_instance(&self, scope: &mut Scope) -> Result<RecordInputInst>
Builds a new instance of ‘RecordInput’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for RecordInput
impl Debug for RecordInput
source§impl Default for RecordInput
impl Default for RecordInput
source§fn default() -> RecordInput
fn default() -> RecordInput
Returns the “default value” for a type. Read more
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