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