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