Struct tensorflow::eager::raw_ops::ParseSingleExample
source · pub struct ParseSingleExample { /* private fields */ }
Expand description
ParseSingleExample
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ParseSingleExample
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 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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
serialized: &T0,
dense_defaults: &T1
) -> Result<[TensorHandle<'a>; 4]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, serialized: &T0, dense_defaults: &T1 ) -> Result<[TensorHandle<'a>; 4]>
Execute parse_single_example.
Trait Implementations§
source§impl Clone for ParseSingleExample
impl Clone for ParseSingleExample
source§fn clone(&self) -> ParseSingleExample
fn clone(&self) -> ParseSingleExample
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseSingleExample
impl Debug for ParseSingleExample
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