Struct tensorflow::ops::ParseExampleDataset
source · pub struct ParseExampleDataset { /* private fields */ }
Expand description
Builder for the ParseExampleDataset
operation.
Implementations§
source§impl ParseExampleDataset
impl ParseExampleDataset
sourcepub fn sparse_keys<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn sparse_keys<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the sparse_keys
attribute.
sourcepub fn dense_keys<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn dense_keys<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the dense_keys
attribute.
sourcepub fn sparse_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn sparse_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the sparse_types
attribute.
sourcepub fn Tdense<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Tdense<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Tdense
attribute.
sourcepub fn dense_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn dense_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the dense_shapes
attribute.
sourcepub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the output_types
attribute.
sourcepub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the output_shapes
attribute.
sourcepub fn ragged_keys<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn ragged_keys<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the ragged_keys
attribute.
sourcepub fn ragged_value_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType
) -> Self
pub fn ragged_value_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType ) -> Self
Sets the ragged_value_types
attribute.
sourcepub fn ragged_split_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType
) -> Self
pub fn ragged_split_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType ) -> Self
Sets the ragged_split_types
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>>(
&self,
input_dataset: O0,
num_parallel_calls: O1,
dense_defaults: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, input_dataset: O0, num_parallel_calls: O1, dense_defaults: O2, scope: &mut Scope ) -> Result<Operation>
Builds the ParseExampleDataset
operation.
sourcepub fn build_instance(
&self,
input_dataset: Output,
num_parallel_calls: Output,
dense_defaults: Output,
scope: &mut Scope
) -> Result<ParseExampleDatasetInst>
pub fn build_instance( &self, input_dataset: Output, num_parallel_calls: Output, dense_defaults: Output, scope: &mut Scope ) -> Result<ParseExampleDatasetInst>
Builds a new instance of ‘ParseExampleDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ParseExampleDataset
impl Debug for ParseExampleDataset
source§impl Default for ParseExampleDataset
impl Default for ParseExampleDataset
source§fn default() -> ParseExampleDataset
fn default() -> ParseExampleDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ParseExampleDataset
impl Send for ParseExampleDataset
impl Sync for ParseExampleDataset
impl Unpin for ParseExampleDataset
impl UnwindSafe for ParseExampleDataset
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