Struct tensorflow::ops::ParseSingleSequenceExample
source · pub struct ParseSingleSequenceExample { /* private fields */ }
Expand description
Builder for the ParseSingleSequenceExample
operation.
Implementations§
source§impl ParseSingleSequenceExample
impl ParseSingleSequenceExample
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 Ncontext_dense<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn Ncontext_dense<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the Ncontext_dense
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 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 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 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 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 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_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>>(
&self,
serialized: O0,
feature_list_dense_missing_assumed_empty: O1,
context_sparse_keys: O2,
context_dense_keys: O3,
feature_list_sparse_keys: O4,
feature_list_dense_keys: O5,
context_dense_defaults: O6,
debug_name: O7,
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>>( &self, serialized: O0, feature_list_dense_missing_assumed_empty: O1, context_sparse_keys: O2, context_dense_keys: O3, feature_list_sparse_keys: O4, feature_list_dense_keys: O5, context_dense_defaults: O6, debug_name: O7, scope: &mut Scope ) -> Result<Operation>
Builds the ParseSingleSequenceExample
operation.
sourcepub fn build_instance(
&self,
serialized: Output,
feature_list_dense_missing_assumed_empty: Output,
context_sparse_keys: Vec<Output>,
context_dense_keys: Vec<Output>,
feature_list_sparse_keys: Vec<Output>,
feature_list_dense_keys: Vec<Output>,
context_dense_defaults: Output,
debug_name: Output,
scope: &mut Scope
) -> Result<ParseSingleSequenceExampleInst>
pub fn build_instance( &self, serialized: Output, feature_list_dense_missing_assumed_empty: Output, context_sparse_keys: Vec<Output>, context_dense_keys: Vec<Output>, feature_list_sparse_keys: Vec<Output>, feature_list_dense_keys: Vec<Output>, context_dense_defaults: Output, debug_name: Output, scope: &mut Scope ) -> Result<ParseSingleSequenceExampleInst>
Builds a new instance of ‘ParseSingleSequenceExample’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ParseSingleSequenceExample
impl Debug for ParseSingleSequenceExample
source§impl Default for ParseSingleSequenceExample
impl Default for ParseSingleSequenceExample
source§fn default() -> ParseSingleSequenceExample
fn default() -> ParseSingleSequenceExample
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ParseSingleSequenceExample
impl Send for ParseSingleSequenceExample
impl Sync for ParseSingleSequenceExample
impl Unpin for ParseSingleSequenceExample
impl UnwindSafe for ParseSingleSequenceExample
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