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