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