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