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