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