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