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