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