pub struct ParseSequenceExampleV2 { /* private fields */ }
Expand description
Builder for the ParseSequenceExampleV2
operation.
Implementations§
Source§impl ParseSequenceExampleV2
impl ParseSequenceExampleV2
Sourcepub fn Ncontext_sparse<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn Ncontext_sparse<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the Ncontext_sparse
attribute.
Sourcepub fn Tcontext_dense<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Tcontext_dense<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Tcontext_dense
attribute.
Sourcepub fn context_sparse_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn context_sparse_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the context_sparse_types
attribute.
Sourcepub fn context_ragged_value_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn context_ragged_value_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the context_ragged_value_types
attribute.
Sourcepub fn context_ragged_split_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn context_ragged_split_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the context_ragged_split_types
attribute.
Sourcepub fn context_dense_shapes<ArgType: Into<Vec<Shape>>>(
self,
value: ArgType,
) -> Self
pub fn context_dense_shapes<ArgType: Into<Vec<Shape>>>( self, value: ArgType, ) -> Self
Sets the context_dense_shapes
attribute.
Sourcepub fn Nfeature_list_sparse<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn Nfeature_list_sparse<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the Nfeature_list_sparse
attribute.
Sourcepub fn Nfeature_list_dense<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn Nfeature_list_dense<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the Nfeature_list_dense
attribute.
Sourcepub fn feature_list_dense_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn feature_list_dense_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the feature_list_dense_types
attribute.
Sourcepub fn feature_list_sparse_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn feature_list_sparse_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the feature_list_sparse_types
attribute.
Sourcepub fn feature_list_ragged_value_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn feature_list_ragged_value_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the feature_list_ragged_value_types
attribute.
Sourcepub fn feature_list_ragged_split_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn feature_list_ragged_split_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the feature_list_ragged_split_types
attribute.
Sourcepub fn feature_list_dense_shapes<ArgType: Into<Vec<Shape>>>(
self,
value: ArgType,
) -> Self
pub fn feature_list_dense_shapes<ArgType: Into<Vec<Shape>>>( self, value: ArgType, ) -> Self
Sets the feature_list_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>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>, O9: Into<Output>>(
&self,
serialized: O0,
debug_name: O1,
context_sparse_keys: O2,
context_dense_keys: O3,
context_ragged_keys: O4,
feature_list_sparse_keys: O5,
feature_list_dense_keys: O6,
feature_list_ragged_keys: O7,
feature_list_dense_missing_assumed_empty: O8,
context_dense_defaults: O9,
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>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>, O9: Into<Output>>( &self, serialized: O0, debug_name: O1, context_sparse_keys: O2, context_dense_keys: O3, context_ragged_keys: O4, feature_list_sparse_keys: O5, feature_list_dense_keys: O6, feature_list_ragged_keys: O7, feature_list_dense_missing_assumed_empty: O8, context_dense_defaults: O9, scope: &mut Scope, ) -> Result<Operation>
Builds the ParseSequenceExampleV2
operation.
Trait Implementations§
Source§impl Debug for ParseSequenceExampleV2
impl Debug for ParseSequenceExampleV2
Source§impl Default for ParseSequenceExampleV2
impl Default for ParseSequenceExampleV2
Source§fn default() -> ParseSequenceExampleV2
fn default() -> ParseSequenceExampleV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseSequenceExampleV2
impl RefUnwindSafe for ParseSequenceExampleV2
impl Send for ParseSequenceExampleV2
impl Sync for ParseSequenceExampleV2
impl Unpin for ParseSequenceExampleV2
impl UnwindSafe for ParseSequenceExampleV2
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